Re: Rev and joystick or switch

2008-07-25 Thread Randall Lee Reetz
Actually... I just wrote a test project... this code just takes mouseLoc and converts to vertical motion for a graphic on mouseDown put 0 into TopLim put (the height of this window) into BotLim put the loc of cd grc 1 into StrtLoc put the clickLoc into CL put (item 1 of StrtLoc)-(item 1 of

Re: Printing off card

2008-07-25 Thread Charles Szasz
I worked out the problem. Thanks! -- View this message in context: http://www.nabble.com/Printing-off-card-tp18653787p18661449.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lis

Re: [OT] AW: AW: AW: Where is the difference in resizeing stack?

2008-07-25 Thread Jim Lambert
On Jul 25, 2008, at 10:00 AM, [EMAIL PROTECTED] wrote: (in germany there is a saying "I killed two flys on a stroke") Auf Englisch sagen wir, "I killed two birds with one stone." Jim Lambert ___ myShape, Inc. www.myshape.com R&D [EMAIL PRO

Re: dialogData

2008-07-25 Thread Mark Schonewille
Hi Mike, This is how it works: -- some script calls someHandler with some parameter on someHandler theSomeInfo set the dialogData to theSomeInfo go stack "My Dialog" as modal -- handler stops running until modal dialog closes put the dialogData into mySomeInfo -- now you can use the in

Re: strip chars

2008-07-25 Thread Richard Gaskin
J. Landman Gay wrote: I had a discussion with Mark Waddingham about this when I was preparing my RevLive session on working with text. There is no absolute "faster" method when comparing regex commands with repeat loops. It all depends on what's in the data, and the engine is optimized differen

Re: dialogData

2008-07-25 Thread Richard Gaskin
Mikey wrote: I'm trying to understand whether I have a bug report to file or not, which is why I'm asking about this. Sorry, it seems I missed the question in your post. I guess the question was - what is the expected behavior if you have a modifiable stack that is acting as a dialog. The re

Re: strip chars

2008-07-25 Thread J. Landman Gay
-= JB =- wrote: That is interesting and nice. I have only run one test but it was mixed pretty good & my result was 94 67 with the repeat for each being the fastest method. I had a discussion with Mark Waddingham about this when I was preparing my RevLive session on working with text. There i

Re: dialogData

2008-07-25 Thread J. Landman Gay
Mikey wrote: Unfortunately I was using it temporarily to pass information from a dialog that was closing to the handler that opened it, but the data was clearly modified by the engine before it got back to the handler. According to the docs, the dialogData is what you're supposed to use for this

Re: dialogData

2008-07-25 Thread Mikey
Richard, I'm trying to understand whether I have a bug report to file or not, which is why I'm asking about this. I guess the question was - what is the expected behavior if you have a modifiable stack that is acting as a dialog. The reason it's modifiable is so that I can have the settings that

Re: dialogData

2008-07-25 Thread Richard Gaskin
Mikey wrote: Unfortunately I was using it temporarily to pass information from a dialog that was closing to the handler that opened it, but the data was clearly modified by the engine before it got back to the handler. According to the docs, the dialogData is what you're supposed to use for this

Re: dialogData

2008-07-25 Thread Mikey
Unfortunately I was using it temporarily to pass information from a dialog that was closing to the handler that opened it, but the data was clearly modified by the engine before it got back to the handler. According to the docs, the dialogData is what you're supposed to use for this kind of operat

Re: strip chars

2008-07-25 Thread -= JB =-
That is interesting and nice. I have only run one test but it was mixed pretty good & my result was 94 67 with the repeat for each being the fastest method. Thanks to both Mark & Richard for the valuable help. -=>JB<=- On Jul 25, 2008, at 7:06 AM, Richard Gaskin wrote: RegEx solutions are c

Re: Printing off card

2008-07-25 Thread Charles Szasz
Mark, Thanks for your super quick reply! Do I incorporate the code below into my script or does it replace my print code itself? Mark Schonewille-3 wrote: > > Charles, > > lock screen > push cd > print cd > pop cd > unlock screen > > -- > Best regards, > > Mark Schonewille > > Economy-x-T

Re: Printing off card

2008-07-25 Thread Mark Schonewille
Charles, lock screen push cd print cd pop cd unlock screen -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more i

Re: dialogData

2008-07-25 Thread Mark Schonewille
Hi Mikey, The dialogData is set by the IDE and might be used by libraries and perhaps even by the engine. You should never rely on the dialogData to store any information semi-permanently. If you want to store something, keep it in a variable and set the dialogData when you actually need

Printing off card

2008-07-25 Thread Charles Szasz
I am using Rev 2.9. I have a two card stack. The first card is the app itself. The second card (print card) is the card I use for printing. The basic information consisting of 16 fields is transferred to the second card. When I use the following code, the second card appears on the screen on the M

dialogData

2008-07-25 Thread Mikey
If I modify a stack and then close it, is RR supposed to update the dialogData? I was using the dialogData to pass my own information, but now it's getting "tweaked' by the engine - specifically item 1 of dialogData is now "Save", which is NOT what I put there. -- Groucho Marx - "A hospital bed

further question on unicode

2008-07-25 Thread Randolph Valentine
Hi, all. Thank you for your earlier help on Unicode. I am teaching at a school in Ontario, Canada that trains Ojibwe and Cree (indigenous North American languages) literacy, and we use the Canadian Aboriginal Syllabics (CAS). I have written several routines in Revolution that will readily convert

Re: strip chars

2008-07-25 Thread Richard Gaskin
RegEx solutions are conveniently compact to write, but given the complexity of the RegEx subsystem they tend to be slower than more brute-force solutions. Being a benchmarking fan I couldn't resist testing this latest case, extracting numerals from an alphanumeric string. Below is a test han

AW: AW: How to set the vscroll of a combobox menu by script?

2008-07-25 Thread Tiemo Hollmann TB
For my needs the menuhistory is perfect, so I got the correct display and could use the standard button script to do the rest (in germany there is a saying "I killed two flys on a stroke") Thanks, have a nice WE (I think you are using the word "Weekend" even in France) Tiemo > > set the label o

Re: AW: How to set the vscroll of a combobox menu by script?

2008-07-25 Thread Eric Chatonet
Hi Mark, Le 25 juil. 08 à 15:28, Mark Schonewille a écrit : The label property might be useful, too. -- Best regards, Mark Schonewille set the label of btn to line 2 of btn is different from set the menuHistory of btn to 2 In the second case the engine will send a menuPick message to t

AW: AW: AW: AW: Where is the difference in resizeing stack?

2008-07-25 Thread Tiemo Hollmann TB
Yes I know, not complaining :) > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:use-revolution- > [EMAIL PROTECTED] Im Auftrag von Eric Chatonet > Gesendet: Freitag, 25. Juli 2008 15:26 > An: How to use Revolution > Betreff: Re: AW: AW: AW: Where is the difference in resizeing

Re: AW: How to set the vscroll of a combobox menu by script?

2008-07-25 Thread Mark Schonewille
Hi É+T ;-) The label property might be useful, too. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering http://economy-x-talk.com http://www.salery.biz Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html for more info.

Re: AW: AW: AW: Where is the difference in resizeing stack?

2008-07-25 Thread Eric Chatonet
I'm sorry for you but it's a specific problem at your place :-( My logs say that 467 tutorials have been downloaded from all around the world in the last eight days. Le 25 juil. 08 à 15:20, Tiemo Hollmann TB a écrit : I would like to, but still struggling with the "noshow" of you tutorials

AW: AW: AW: Where is the difference in resizeing stack?

2008-07-25 Thread Tiemo Hollmann TB
I would like to, but still struggling with the "noshow" of you tutorials :( Thanks Tiemo > > You will access this tutorial through "Tutorials Picker" a free > plugin that interfaces with the So Smart Software website in order to > display all available tutorials stacks directly from the web. > You

Re: AW: How to set the vscroll of a combobox menu by script?

2008-07-25 Thread Eric Chatonet
Re Tiemo, Le 25 juil. 08 à 15:16, Tiemo Hollmann TB a écrit : Add: Actually it is not the action of setting the button menu, but only that the right value is shown. The action I have already performed by script Tiemo Hello, still another one before WE, but probably a very basic one: I

AW: How to set the vscroll of a combobox menu by script?

2008-07-25 Thread Tiemo Hollmann TB
Add: Actually it is not the action of setting the button menu, but only that the right value is shown. The action I have already performed by script Tiemo > > Hello, > > still another one before WE, but probably a very basic one: > > I have a combobox button with some menu items and only one me

How to set the vscroll of a combobox menu by script?

2008-07-25 Thread Tiemo Hollmann TB
Hello, still another one before WE, but probably a very basic one: I have a combobox button with some menu items and only one menu item being displayed. Now I would like to select a specific menu item by script and set the vscroll of the button menu to the appropriate value, so that the right men

AW: AW: AW: Where is the difference in resizeing stack?

2008-07-25 Thread Tiemo Hollmann TB
Thanks Mark and Eric for teaching, I'll give your approaches a try Tiemo > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:use-revolution- > [EMAIL PROTECTED] Im Auftrag von Eric Chatonet > Gesendet: Freitag, 25. Juli 2008 14:41 > An: How to use Revolution > Betreff: Re: AW: AW:

Re: AW: AW: Where is the difference in resizeing stack?

2008-07-25 Thread Eric Chatonet
Bonjour Tiemo, Le 25 juil. 08 à 14:34, Tiemo Hollmann TB a écrit : I resize by the absolute diff of the windwow resize, like: on resizeStack pNewW,pNewH,pOldW,pOldH put pNewW - pOldW into tWDiff put pNewH - pOldH into tHDiff put item 1 of the rect of player "myPlayer" in

Re: AW: AW: Where is the difference in resizeing stack?

2008-07-25 Thread Mark Schonewille
Hi Tiemo, That won't work, because the window maybe be smaller or larger than the player. The change in window size may even be larger than the height or width of the player, causing the player to vanish altogether. Try this instead: put the topleft of player "myPlayer" & comma & the widt

AW: AW: Where is the difference in resizeing stack?

2008-07-25 Thread Tiemo Hollmann TB
Hi Mark, I resize by the absolute diff of the windwow resize, like: on resizeStack pNewW,pNewH,pOldW,pOldH put pNewW - pOldW into tWDiff put pNewH - pOldH into tHDiff put item 1 of the rect of player "myPlayer" into tL4 put item 2 of the rect of player "myPlayer" int

Re: system date format problem

2008-07-25 Thread william humphrey
Strike that last email. I found out that all I have to say is "put the system date" and I will see it. Know I learn that both macs have the correct system format for the date of -mm-dd but for some reason the 10.4.11 mac is not running the Valentina software correctly regarding system dates. I'

Re: system date format problem

2008-07-25 Thread william humphrey
I notice a big difference in the way date formats work in my 10.4.11 mac compared to my 10.5 mac. In both macs I have a custom date format -mm-dd (you would think that would be an available format and not have to be custom). In the 10.5 mac my Valentina database sees that system format and eve

Re: AW: Where is the difference in resizeing stack?

2008-07-25 Thread Mark Schonewille
Hi Tiemo, That must be a mistake in your script. Do you calculate the sizes relative to the window size or do you calculate the change in window size as a percentage and use that to change the sizes of your objects? I would always calculate the size of objects relative to the window size.

AW: Where is the difference in resizeing stack?

2008-07-25 Thread Tiemo Hollmann TB
Hi Mark, the problem is, that my resizeable objects don't get to their "original" minwidth and minheight (what they do, when the user resizes the stack to the min) They "shrink" much more to a "undefined" size. Tiemo > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] [mailto:use-revol

Re: Where is the difference in resizeing stack?

2008-07-25 Thread Mark Schonewille
Hi Tiemo, You have a button, which sets the size of your stack to the minHeight and minWidth and then your resizestack handler acts as if the size of the stack has been set to minHeight and minWidth by the user...? What's the problem? -- Best regards, Mark Schonewille Economy-x-Talk Con

Where is the difference in resizeing stack?

2008-07-25 Thread Tiemo Hollmann TB
Hello, I have a resizeStack handler, where I handle resizing my objects. That works very fine. Now I wanted to build a button, where the user can resize the stack to the min size by one click, where I just set the width of the stack to the minwidth and height to the minheight. That works for the s

[Way OT] San Francisco.

2008-07-25 Thread Richmond Mathewson
Remember the San Francisco bitmap font from Mac OS 6 ? If you are interested I just found a FREE truetype version: http://www.fontspace.com/hank-gillette/st-francis sincerely, Richmond Mathewson. A Thorn in the flesh is better than

Re: [ANN] F-ab 2.5.0 released and available for download

2008-07-25 Thread Jiro Harada
Pierre, Thanks! I am very glad to hear that. Best regards, Jiro Harada On 2008/07/25, at 16:09, Pierre Sahores wrote: A great architect behind a great world-class entrainment and more front-end app ! Really very impressive, Jiro. Thanks for letting us know about your works... Best Re

Re: [ANN] F-ab 2.5.0 released and available for download

2008-07-25 Thread Jiro Harada
J. Landman Gay, Have you thought about marketing the external separately? I bet Runtime's RevSelect program would be interested in helping you if you wanted to do that. Contact Heather in support if you are interested. I think this would be a very popular product. Thanks for your informat

Re: [ANN] F-ab 2.5.0 released and available for download

2008-07-25 Thread Pierre Sahores
A great architect behind a great world-class entrainment and more front-end app ! Really very impressive, Jiro. Thanks for letting us know about your works... Best Regards, -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com Le 25 juil. 08 à 08:45, Jim Ault a écrit : On 7/

Re: strip chars

2008-07-25 Thread -= JB =-
Hi Mark, Thank you very much! I found the stack it is stdLib but it had an example to trim spaces etc. but not strip numbers so your code was definitely needed. -=>JB<=- On Jul 24, 2008, at 7:08 PM, Mark Schonewille wrote: Hi JB, I don't know which stack you mean, but this should do it: