Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Code not stopping at combo box...
Message
De
30/07/1999 21:34:30
 
 
À
30/07/1999 20:43:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00248469
Message ID:
00248479
Vues:
17
>very simple code
>
> THISFORM.REFRESH
> THISFORM.OPLIST.SETFOCUS()
> THISFORM.OPERATOR=THISFORM.OPLIST.VALUE
>
>but it doesn't stop at the OPLIST combobox to give the user a chance to pick a value
>
>the debugger shows it going to the gotfocus but it doesn't appear to do the default (which would cause it to popdown)
>nor does it do the valid (which would return .f. if the value is empty which it would be if nothing is selected because I've initialised the value to empty to try to resolve this problem)
>
>it just goes oplist.setfocus, gotfocus and straight onto the next line of code...
>
>all clues gratefully received.
>
>Harry

You may add NODEFAULT right after Setfocus.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform