Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning a value from a class
Message
 
 
À
16/11/2001 11:02:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00582724
Message ID:
00582910
Vues:
28
>Hi John,
>
>I saw your comment on this issue. I am trying to get a return value from a listbox on a form saved as class.
>
>Let's call the form VarPicker. In another form from the InterActiveChange in a Grid->Column->TextBox I issue a VarPicker.Show(1) and in the valid clause of VarPicker.ListBox I set the PickedVar property of VarPicker to the ListBox.Value.
>
>VarPicker.Hide and a This.Value=VarPicker.PickedVar still in the InterActiveChange method, and one would think that was it.
>
>It sort of works, 'cause it does something, basically it does it right every second time - which is rather unsatisfactory.

Try to add NODEFAULT to the InterActiveChange event.

>
>What could be wrong- and how would I be able to apply your private var solution here?
>
>TIA
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform