Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Focus
Message
From
21/09/1998 14:01:03
 
 
To
21/09/1998 13:55:38
Senna Dwipayana
Indo Rebel Apparel Cv
Bandung, Indonesia
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00139152
Message ID:
00139159
Views:
39
>Why the focus always skip to next object when I put "object.setfocus"?
>eq. I create 3 objects,
>1.textbox
>2.command button
>3.combobox
>
>when I put command button.setfocus on textbox.lostfocus, the focus always goes to combobox instead of command button.
>Please anyone tell me why this happened ?
>
>Thanks

You need to put NODEFAULT after your Command.SetFocus(). This will prevent VFP from automatically moving to the next field.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform