VB 5.0 Focus problems...
ok user clicks a button and text1.text appears how do I get the focus to automatically move to text box (Cursor blinking waiting for input...)? there is no focus property. Thanks -- Zz
He''s right. Text1.SetFocus will do it.
I forget if VB 5.0 or VB 6.0 introduced it, but there is also a Validation event you can work on. It helps you validate a field''s value BEFORE it _loses_ focus.. So you can "keep" the cursor in a text field until it recieves a valid input value.
// CHRIS
I forget if VB 5.0 or VB 6.0 introduced it, but there is also a Validation event you can work on. It helps you validate a field''s value BEFORE it _loses_ focus.. So you can "keep" the cursor in a text field until it recieves a valid input value.
// CHRIS
// CHRIS [win32mfc]
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement