Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get Focus
Message
From
10/11/2005 13:40:55
Chandan Chakraborty
Bangiya Gramin Vikash Bank
Raiganj, India
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Get Focus
Environment versions
Visual FoxPro:
VFP 6
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01067310
Message ID:
01067310
Views:
61
Hai experts!

Im working with five command buttons;(1) add,(2) Save,(3) edit,(4) display & (5) exit.
And for data entry I ahve nine text and corresponding label.AT Add command I enabled=.f. for other command. Finaly at Text9, I have chose keyprees and codeed;
if nKeypress=13
form1.command2.enabled=.t.
form1.command3.enabled=.t.
form1.command4.enabled=.t.
endif
I want that the save command button (=command2) will be automatically selected and by pressing enter I can proceed further. But in my case the other command button is being selected. How I can select my choice Command (here it is save) ?

Chandan
Next
Reply
Map
View

Click here to load this message in the networking platform