Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class-based form
Message
 
 
À
29/10/2010 19:23:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01487548
Message ID:
01487555
Vues:
90
You have to keep form reference around. Something like
_Screen.AddProperty("oPemeBrowser" , Newobject ('PEME_FRMBROWSER', 'PEME_mxBrowser.VCX'))
_Screen.oPemeBrowser.WriteHTML(lcResult)
...
>No, that's the opposite of what I want.
>
>The form is not modal, and I don't want it to be.
>
>What I want is that the form is still around after the Return statement. (It goes POOF and disappears because of loForm going out of scope).
>
>
>>>I have just begin using class-based forms, and have come upon the following.
loForm = Newobject ('PEME_FRMBROWSER', 'PEME_mxBrowser.VCX')
>>>loForm.WriteHTML (lcResult)
>>>loForm.Show()
>>>
>>>Return lcResult
>>>The form that is created here is not modal, and I want it to hang around once it is created by the code above. Of course, loForm goes out of scope and POOF!
>>>
>>>Suggestions?
>>>
>>>TIA
>>
>>Does
>>loForm.Show(1)
>>get you what you need?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform