Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No return value
Message
From
29/11/2001 18:58:22
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Miscellaneous
Thread ID:
00587517
Message ID:
00587784
Views:
30
>Another issue, oForm.property does not work. oObj.combobox.value does work. My class is a form with a combobox on it with the form sized to the control. I cannot get a reference to the property that is bound to the form. now, the valid quit firing. the hair(pulling) is going fast.

Valid probably won't fire because the combo still has the focus. You can move the validation to the .interactivechange method, that's what fires regardless of the focus being still there or not (and it will be, because you have no other controls).

You can add such a property (like Charlie does) and bind the combo to it, and you also don't have to. BTW, make sure your form is modal if you want to return the value from the .unload method; however, if you're instantiating the form from a .vcx (not .scx), using createobject() or newobject(), then what you're already doing is the only way, modal or not.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform