Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclass an ActiveX Control
Message
 
To
28/08/2000 20:55:20
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00409746
Message ID:
00410177
Views:
27
>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
Map
View

Click here to load this message in the networking platform