Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No return value
Message
De
29/11/2001 18:58:22
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Divers
Thread ID:
00587517
Message ID:
00587784
Vues:
31
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform