Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00007044
Message ID:
00007056
Vues:
36
>Im using a listbox on a modal form to return a value to a
>calling form and it isnt working. When I enter the
>value to a textbox on the form it works fine. How do I
>access the value in the list box place it in the variable
>the modal form is returning?
>
>Chris

You need to store the list's value to a property of
the form. The list won't be there anymore by the
time you hit the unload event.

You can either make the forms property the controll
source or grab it on a change event if the first
will mess up you display.

ThisForm.List1.ControlSource = ThisForm.ReturnValue
In the UNLOAD event:
RETURN ThisForm.ReturnValue


Chris
Chris
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform