Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclass an ActiveX Control
Message
De
29/08/2000 10:33:09
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00409746
Message ID:
00410252
Vues:
25
>>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
Fil
Voir

Click here to load this message in the networking platform