Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a value from a class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Returning a value from a class
Miscellaneous
Thread ID:
00582724
Message ID:
00582724
Views:
59
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.

What could be wrong- and how would I be able to apply your private var solution here?

TIA
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Next
Reply
Map
View

Click here to load this message in the networking platform