Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pageframes
Message
De
21/10/1999 23:55:16
Randy Hooper
Ranco Business Software
Tampa, Floride, États-Unis
 
 
À
21/10/1999 23:48:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00279706
Message ID:
00279766
Vues:
16
>>>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
>>
>>What am I doing wrong here I create a class name ghptab and subclasses it base on a container and drop some textbox in the conatainer. Went to my form and I have a pageframe and under page 2 using addObject code is:
>>
>>this.addObject("ghptab","ptlib")
>>this.ghptab.visible = .t.
>>
>>Thanks Randy
>
>What happens when oyu drop it on the form at design time?

I drop it on the form at design time and ran the form and that works.
Foxpro is a sweet puppy

'cept it barks every now and then =)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform