You mean have it do this every time that screen came up? Seems like
permanent frames would be a bit more simple, but I'll do your suggestion and
see what works best. Thanks for the tip...it gives me an idea for a couple
of other programs I've been having trouble with.
Thanks,
Dennis Brown
[EMAIL PROTECTED]
-----Original Message-----
From: Keith Creasy <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, January 13, 1999 7:34 AM
Subject: Re: Script questions, again.
>Hello.
>
>I can only think of one way to do what you are asking without actually
>checking and testing for the field label. Each control has a unique
handle,
>but this handle may not be the same each time the window is created. You
>could have your JFW script, with the invisible cursor active, go to the
>first control and go through each control in the client window assigning
>each in a series of variables with the unique window handle. You could
then
>refer to each control by it's handle. You would have to be sure that your
>script reset itself each time the window was created though since the
>handles value can change from one time to the next.
>
>Maybe there is an easier way, but I don't know of one.
>
>Keith
>
>
>-----Original Message-----
>From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>To: JFW List <[EMAIL PROTECTED]>
>Date: Wednesday, January 13, 1999 7:17 AM
>Subject: Script questions, again.
>
>
>>
>>I asked this a week or so ago and didn't really get an answer, so I'll
>toss
>>it out again...
>>What do you do to identify a particular field on a screen full of several
>>fields, all the same class, and all having different Control Id and
Handles
>>whenever the screen is present? For example, if you have a Last Name
>field,
>>a First name field, and a Address field, and they are all of the Edit
>class,
>>and the labels are above, to the left, and below the field's contents.
>>How do you identify each field in a routine that checks it's id before
>>having JFW read it's particular label when tabbing to that field?
>>Since JFW won't read the label to the fields, you have to specifically
>force
>>JFW to read the field's label using the Invisible cursor before announcing
>>the field's contents.
>>If the field's handle and control id are different every time that screen
>is
>>present, what do you have JFW look at in order to know which direction to
>>have the invisible cursor read that particular field's label?
>>At present, I am using a frame around each field's label and contents, and
>>having the Tab and Shift+Tab keys move to the new field, then
>>ReadFrameAtCursor. This particular screen has 15 fields, some with their
>>labels on top of the field, some to the left, and some to the right. Is
>>there a more efficient means of getting that field label to read before
the
>>contents of the field?
>>What am I missing in the scripting procedure that will assign a specific
>>identifier to each field that will stay the same every time that screen is
>>loaded?
>>
>>Is there a script-specific mailing list anywhere, or a specific e-mail
>>address to a script guru that I can address my questions to?
>>
>>Thanks,
>>Dennis Brown
>>[EMAIL PROTECTED]
>>
>>
>>
>>
>>-
>>Visit the jfw ml web page: http://yoyo.cc.monash.edu.au/~nallan/jfw
>>
>
>-
>Visit the jfw ml web page: http://yoyo.cc.monash.edu.au/~nallan/jfw
-
Visit the jfw ml web page: http://yoyo.cc.monash.edu.au/~nallan/jfw