General information
Category:
Forms & Form designer
>>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only