Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Params in Form Classes
Message
 
À
16/04/2007 16:36:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01216407
Message ID:
01216502
Vues:
13
>>>>>You should pass an object to form B:
>>>>>
>>>>>oCallobject=createobject('custom')
>>>>>oCallobject.addproperty('returnvalue')
>>>>>=createobject('formb',oCallobject)
>>>>>....
>>>>>
>>>>>and you will accept oCallobject in FormB.Init event, and populate Returnvalue property within that form.
>>>>>
>>>>>
>>>>
>>>>Looks good.
>>>>
>>>>How do I trigger FormA to know that FormB is now gone and I have a change in ReturnValue property (so as to update an input grid with that value and refresh the form)?
>>>>
>>>>Thanks!
>>>>
>>>Is FormB modal or modeless?
>>
>>FormA is MODAL and FormB is MODELESS.
>
>You cannot call modeless form from modal. It may create interface confusion. Maybe you meant the opposite: modal form is called from the modeless?

Unfortunately, FormA is already MODAL. I created the new FormB and it's default is Modeless. (I didn't check till now on the Modal nature of the two forms).
Tommy Tillman A+ NetWork+ MCP
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform