>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.
* Make the tree fit the container.
WITH THIS.oleTree
.Left = 2
.Top = 2
.Height = This.Height - 4
.Width = This.Width - 4
ENDWITH
THISFORM.CLS()
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only