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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement