Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple set focus not working
Message
De
28/03/2017 11:40:03
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Simple set focus not working
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01649441
Message ID:
01649441
Vues:
82
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!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform