Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
AddObject and pageframe
Message
De
27/01/2005 14:44:34
 
 
À
27/01/2005 14:40:38
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00981384
Message ID:
00981389
Vues:
31
>>I have a pageframe with no pages. I have the following code in INIT method of the form:
>>
>>SET PROCEDURE TO classes.fxp ADDITIVE
>>This.pgfLabels.AddObject('Page1', 'PageObject')
>>
>>Here is a class definition:
>>
>>DEFINE CLASS PageObject AS Page
>> Caption = '1.15 X 1.5'
>> PROCEDURE mClick
>> ENDPROC
>>ENDDEFINE
>>
>>When form runs I dont see the page untill I click on it. What am I missing?
>
>You have to set the page visible = .t. and you have to set the pageframe's activepage = 1.

activepage = 1 did the trick. Thanks
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform