Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a value from a class
Message
 
 
To
16/11/2001 11:02:47
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00582724
Message ID:
00582910
Views:
27
>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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform