Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframes
Message
From
21/10/1999 21:41:23
 
 
To
21/10/1999 21:30:41
Randy Hooper
Ranco Business Software
Tampa, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00279706
Message ID:
00279710
Views:
9
Hi Randy,

>Using a pageframe on my form and on page 2 using the addobject I added this code there. this.addObject("ghptab","ptlib") and when I run my form and click on that tab it does not show up.

Hi Randy, after the AddObject, you must set your created objects Visible to .T.

>What do I need to do and can I test to see if the object is there first so I don't load it twice.

Yes, do:
if type('this.ghptab') <> 'O' &&Asuming yout in the PageFrame
     This.AddObject('ghptab', 'ptlib')
     This.ghptab.Visible = .t.
endif
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform