Re: sharedscripts

2005-02-24 Thread Rob Meijer
Mark It's all new for me, so what is the difference? I took the routine the closest to OpenScript. I agree the switch structure looks very good. Rob -- At 03:24 25/2/2005, Mark Wieder wrote: Rob- Thursday, February 24, 2005, 1:38:29 PM, you wrote: RM> global scriptflag RM> on mouseUp RM> if

Re: sharedscripts

2005-02-24 Thread Rob Meijer
Ken, I am defenitely sure that you are right. I am a newbie in Revolution and for each statement I am translating I have to browse the helpfile, so most of the time I am orientating. Moreover the first exercise I am doing is translating one of my Toolbook applications from OpenScript to Transscript

Re: sharedscripts

2005-02-24 Thread Mark Wieder
Rob- Thursday, February 24, 2005, 1:38:29 PM, you wrote: RM> global scriptflag RM> on mouseUp RM> if scriptflag="gocard" then RM> send gocard RM> else if scriptflag=. RM> send... RM> else if scriptflag=. RM> send... RM> end if RM> end mouseUp If you're going this route, check out the swi

Re: sharedscripts

2005-02-24 Thread Mark Wieder
Ken- Thursday, February 24, 2005, 6:25:27 PM, you wrote: KR> For example, my limited use of TB turned up a wonderful construct for KR> working with system DLLs and the Windows API that would be great if Rev KR> would adopt... but anything else you can add would be great. I could have sworn I had

Re: sharedscripts

2005-02-24 Thread Ken Ray
On 2/24/05 3:38 PM, "Rob Meijer" <[EMAIL PROTECTED]> wrote: > Every day I find astonishing things in Rev and I wonder > how Toolbook can exist without these statements. > Every day I find astonishing things in Rev and I wonder > why Rev did not copy them from Toolbook. Please bring them up here!

Re: sharedscripts

2005-02-24 Thread Rob Meijer
Hi Jaqueline Thanks a lot. I did something of that, but stead buttons I use one variable "scriptflag". In every buttonscript the scriptflag corresponds with a handler in the stacskcript. The script in the field is: global scriptflag on mouseUp if scriptflag="gocard" then send gocard else if scriptf

Re: sharedscripts

2005-02-24 Thread J. Landman Gay
On 2/24/05 12:43 AM, Rob Meijer wrote: Your suggestion to use "set the script of fld "content" to the script of btn "wijzigen" was the first statement I tried. I put it as last statment into a handler, but got the errormessage that a script cannot be altered while running. Then I tried "send foo"

Re: sharedscripts

2005-02-24 Thread Rob Meijer
At 10:33 24/2/2005, Klaus Major wrote: But you could do the following: set a custom prop or a variable as a flag and check this one in the field script. Know what i mean? I know what you mean, more: IT WORKS ! Quite another entry than in Toolbook, but certainly useful. Thanks Rob [EMAIL PROTECTED]

Re: sharedscripts

2005-02-24 Thread Robert Brenstein
Hi Jaqueline, Andre and Klaus Thanks to your hint to see Richards article, I found such a large source of Revolutional knowledge, That I use a lot of time to read through all that stuff. I understood that back and front indicate the place in the hierarchy and that messagepath is synonym for the hi

Re: sharedscripts-workaround

2005-02-23 Thread Rob Meijer
Hi Jaqueline, Andre and Klaus Yes, I found a workaround. In the script of the field I added "insert script of btn "gocard" into front" and in the card I put on closecard; remove script of btn "gocard" from front". I coudn't find a working "start using". But I am not pleased to have a lot of (invis

Re: sharedscripts

2005-02-23 Thread Rob Meijer
Hi Jaqueline, Andre and Klaus Thanks to your hint to see Richards article, I found such a large source of Revolutional knowledge, That I use a lot of time to read through all that stuff. I understood that back and front indicate the place in the hierarchy and that messagepath is synonym for the hi

Re: sharedscripts

2005-02-23 Thread J. Landman Gay
On 2/23/05 1:09 PM, Rob Meijer wrote: Goodday I am a newbie in Revolution, being in the trialperiod. I'm glad you came to the list. Welcome. :) In themy resting 19 days I try to translate a Toolbook application to Revolution language. The TB-app is written by myself. I work with TB for 18 years and

Re: sharedscripts

2005-02-23 Thread Andre Garzia
On Feb 23, 2005, at 5:21 PM, Rob Meijer wrote: Andre, I cannot find the right syntax. 'Start using' did not match. I am looking for something like: "insert script of button "wijzigen" into script of field "content"" but here I get an errormessage "missing script" ?? Thanks

Re: sharedscripts

2005-02-23 Thread Klaus Major
Hi Rob, Andre, I cannot find the right syntax. 'Start using' did not match. I am looking for something like: "insert script of button "wijzigen" into script of field "content"" but here I get an errormessage "missing script" ?? you can only insert script into bakc or front.

Re: sharedscripts

2005-02-23 Thread Rob Meijer
Andre, I cannot find the right syntax. 'Start using' did not match. I am looking for something like: "insert script of button "wijzigen" into script of field "content"" but here I get an errormessage "missing script" ?? Thanks for your help Rob -- At 19:24 23/2/2005,

Re: sharedscripts

2005-02-23 Thread Richard Gaskin
Rob Meijer wrote: I am a newbie in Revolution, being in the trialperiod. In themy resting 19 days I try to translate a Toolbook application to Revolution language. The TB-app is written by myself. I work with TB for 18 years and have some experience with TB. Welcome aboard. I've used ToolBook myse

Re: sharedscripts

2005-02-23 Thread Andre Garzia
Rob, I never used Toolbook so I am guessing here. One thing you can use to share scripts is grouping the controls and using a group script. Or if you build a script library in a stack and want to add those scripts to your stack, you can use "start using" to add the scripts to the message path.

sharedscripts

2005-02-23 Thread Rob Meijer
Goodday I am a newbie in Revolution, being in the trialperiod. In themy resting 19 days I try to translate a Toolbook application to Revolution language. The TB-app is written by myself. I work with TB for 18 years and have some experience with TB. In my app there is a listfield, each line correspo