Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I make page unvisible?
Message
De
30/11/1999 15:17:28
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00292684
Message ID:
00297084
Vues:
28
Hi Nadya,

>First, instead of ADDOBJECT use NEWOBJECT method. (My colleaque told me, that this method is newer and better, what's your opinion?)

I think your friend is describing the difference between NewObject() and CreateObject() functions. These two functions create an object and return the reference given the class name, and NewObject (newer) allows you to refrence the class lib too. AddObject() is a method of a container class that allows you to create an object on that container. So the other functions would create the object, but it wouldn't be on the form.

>Second, in SetupPages don't forget to assign pages captions to the options captions.

I do :-) It's actually in ArrangeTabs() (called by SetupPages()) here:

loButton.Caption = .Pages[loButton.TabIndex].Caption
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform