Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't get Setfocus to work on a field
Message
From
26/08/1999 14:03:29
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Can't get Setfocus to work on a field
Miscellaneous
Thread ID:
00258065
Message ID:
00258065
Views:
56
I have a login screen which has two test boxes: TxtLoginID, & TxtPassword.

It also has two buttons, CmdEnter & CmdExit

I have tried Thisform.TxtLoginID.setfocus in the INIT Event and Activate both of the form and cannot seem to get it to work.

When the form comes up and focus is supposedly set to one of my text fields then the cursor does not show and pressing Tab gives you the default beep.

I tested setting the focust to a button, and whilt it does appear to have the focus, pressing tab also gives you the default beep.

Tabstop on all 4 items set to .T. Order is LoginID, Password, Enter, Exit
Next
Reply
Map
View

Click here to load this message in the networking platform