Re: Need GetFocus() for FP 2.6 @Get.

2016-06-01 Thread Wayne Yeung
I'm coming to realize that this is not possible but this is what I'm trying to @ 5,8 say "Effective Date1" @ 5,24 get date1 valid valdate1() @ 7,8 say "Effective Date2" @ 7,24 get date2 valid valdate2() store " " to yorn @ 9,8 say "Type Y to continue blank to cancel"; color scheme 2 @ 9,50 get y

Re: Need GetFocus() for FP 2.6 @Get.

2016-06-01 Thread Jean MAURICE
Hi Wayne,   after the READ, there is no more 'event' you can work with (I mean there are no more active GET). So, yes, _curobj can only be set in functions (clauses ?) called from a @GET command. I remember that you can also set the first GET to be active in the READ statement but I don't reme

Re: Need GetFocus() for FP 2.6 @Get.

2016-06-01 Thread Peter Cushing
On 01/06/2016 14:52, Wayne Yeung wrote: Looks like _CUROBJ can only be used within a valid or when. I tried setting _CUROBJ after the READ but nothing happened. Hi Wayne, You need to set the _CUROBJ in the valid of another object. Usually when something has happened and you want the input t

Re: Need GetFocus() for FP 2.6 @Get.

2016-06-01 Thread Wayne Yeung
Looks like _CUROBJ can only be used within a valid or when. I tried setting _CUROBJ after the READ but nothing happened. Thanks for the reply Peter. Wayne On Wed, Jun 1, 2016 at 9:16 AM, Peter Cushing wrote: > > On 01/06/2016 13:55, Wayne Yeung wrote: > >> Greetings, >> I have an old app with f

Re: Need GetFocus() for FP 2.6 @Get.

2016-06-01 Thread Peter Cushing
On 01/06/2016 13:55, Wayne Yeung wrote: Greetings, I have an old app with forms created using Define Window. Textboxes are created by @ Get. I know many of you will tell me to upgrade which I'm doing but I still need to support the existing app. Well, here is my question: What is be best way to

Need GetFocus() for FP 2.6 @Get.

2016-06-01 Thread Wayne Yeung
Greetings, I have an old app with forms created using Define Window. Textboxes are created by @ Get. I know many of you will tell me to upgrade which I'm doing but I still need to support the existing app. Well, here is my question: What is be best way to mimic Setfocus() for a @ Get control? Is t