Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get Focus
Message
 
To
11/11/2005 12:59:43
Chandan Chakraborty
Bangiya Gramin Vikash Bank
Raiganj, India
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01067310
Message ID:
01067779
Views:
18
>Thanks.But setfocus() is not working perfectly. I have just tried it and found that Command2 button is focusing but not waiting for next option.Only a wait is halting it from moving.I want to focused on command2 button and pressing enter the next will occur.
>
>Waiting for tips.
>
>Chandan

I didin't uderstand what you ae trying to do. After the user press Enter in Text9 you want to enable all buttons and click on button2 ate the same time?
If it i so (With Naomi' sugestion):
if nKeypress=13
   STORE .t. TO form1.command2.enabled,;
                form1.command3.enabled,;
                form1.command4.enabled
   form1.command2.SetFocus() && Just for the user :o)
   form1.command2.Click()
endif
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform