Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclass an ActiveX Control
Message
From
29/08/2000 10:33:09
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00409746
Message ID:
00410252
Views:
24
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform