Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Try to stay focused... NOT!
Message
From
12/10/1999 12:23:09
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00275495
Message ID:
00275498
Views:
19
Steve,

Explicitly SetFocus to something else in the Click of the Add record button. In my framework, I have a Form class custom property called FirstEditControl. I store there in the instance where I want focus to be when the user starts to add or modify a record.




>Is there a command I can use to get rid of the focus when I press the "Add Record" button on my form? I have just navigated through the records in my table using the "Next Record" button and I stop at some random point in my table and press the "Add Record" button. But the command button of my multi-pageframes form always sets focus to the first pageframe even though I don't do a SetFocus command. That must be because it's the default or something. There must be any easy way to override the auto focus. What do you think? Thanks for the help.
>
>Sincerely,
>Steve Kramer
>Kramer & Kramer Design
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform