Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I open from from a Text Box
Message
De
30/06/1997 16:43:58
Jim Si
Alberta Research Council
Calgary, Alberta, Canada
 
 
À
30/06/1997 15:46:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00038056
Message ID:
00038170
Vues:
36
>> I have a text box. I need to validate the value entered. If the value
>> entered is invalid. I need to open a form containing four table options
>> for a user to select.
>try to put the code in the lostfocus event instead of the valid event
>also if the user has to choose from predefined values why not use a
>combobox instead?
>
>Arnon

Hi Arnon,

Even I put calling form code in LostFocus event, it opens the form ok but just briefly flash then return the focus to the text box.

Paul Russell recommended me the following way.

>1) ensure that the picklist form is Modal
>2) use the command:
>
>DO FORM {whatever} TO VarName
>
>to put the results of the form in a variable name.

It works fine.

Jim Si
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform