>>Do you also add the ImagesList Control to your container?
>-> Yes or it can be added programatically.
>
>>Do you resize the container and the treeview with the form?
>-> Yes, there is custom code to do that in the container.
>
This must be in the .Resize of the container... Cool.
>* Make the tree fit the container.
>WITH THIS.oleTree
> .Left = 2
> .Top = 2
> .Height = This.Height - 4
> .Width = This.Width - 4
>ENDWITH
>THISFORM.CLS()
What is .cls() ??
Thanks for the reply
>
>
>Steve
>>
>>>>Can you subclass an ActiveX Control like the TreeView? I want to add some default code to the init and add some properties so it will resize with my resizable forms..
>>>>
>>>>
>>>>Thanks
>>>
>>>Just an idea, but we put a treeview on a container. All properties, methods, etc go on the container rather than the treeview. If a new version of the treeview comes out, our code remains. We can, and do subclass from this also.
>>>
>>>Steve
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