Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Valid in a coded combo box
Message
De
22/02/2007 05:19:43
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
21/02/2007 13:06:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01197686
Message ID:
01197888
Vues:
15
>Hi. Thanks to the help of UT, I was able to successfully hand-code a combo box into my form (I wanted color options). Now I want some code to execute when leaving that combo (as in a valid). How would I do so, keeping in mind that I want to call other methods from this valid.
>
>Thanks, Randy

I think lostfocus is the ideal event to code that. ie:

*lostfocus
* call whatever
* show a dialog etc
if thisIsValid
* whatever
else && mimic valid returning .f.
NODEFAULT
this.setfocus()
endif

PS: Unlike valid you have right to invoke other controls such as a form, or setfocus to another control.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform