Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_screen.oapp.omyform vanishes unexpectedly
Message
De
16/07/2002 09:05:23
 
 
À
16/07/2002 07:08:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00679007
Message ID:
00679047
Vues:
17
Thanks Gary

I am now getting the desired ffect.
Anyway for the record here is the code I am using
The form prperty oAdd2schedForm is the form I referred to earlier as oMyForm
_screen.AddProperty('oApp')

_screen.oApp=createobject('appstart')

with _screen
.oApp.AddProperty('oAdd2schedForm')
endwith
do form add2schedform name _screen.oapp.oAdd2schedForm

My problem was that when I press exit on the form in order to change something in the form desgner I lose the reference to the form. I think the form designer decides to knock it out of memory.

In order achieve the interactive debugging session I want I want I am going to have to save the form and the just re-issue a

do form add2schedform name _screen.oapp.oAdd2schedForm
each time I want to test the form.

Now that I think things through, this makes sense, since any changes I make to the form will need to be echoed into the _screen.oapp.oAdd2schedForm

DOH! My only excuse is the heat we are experiencing here in Lewes at present.










>>do form MyForm name _screen.oapp.oMyForm
>>
>>Does anyone know what I am doing wrong?
>
>Your post doesn't tell the full story. However, does the oMyForm property exist first and has it been created using the object's addproperty method, like the following :-
>
>
>_SCREEN.AddProperty("oMyForm", Null)
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform