Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple set focus not working
Message
From
28/03/2017 11:40:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Simple set focus not working
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01649441
Message ID:
01649441
Views:
81
Why, oh, why...

I have a simple form using one table. All the tab orders are correct. I have this in the 'activate' :
IF reccount()>0
	thisform.list1.SetFocus
ELSE
	thisform.txtclient.setfocus
ENDIF
DOEVENTS FORCE  &&added to try forcing it, but it makes no difference!
NO WAY either will receive the focus with, or without records in the table... Have done hundreds and hundreds of forms, and all work, nut not this one!
Any ideas will be maaaavlis - thanks!
Next
Reply
Map
View

Click here to load this message in the networking platform