Hi Denis,
I zoomed right past olecontrol when I was looking in the class designer this morning... Thanks for the help that was what I was looking for.
It's 99°f here in Poplar Bluff hope it's cooler in Moscow....
Thanks
>>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
>
>Hi. You can also made that in class designer. Press "New" button and in "Base On" combo choose "OLECONTROL". type name of class and press OK. Then from dialog window switch optiongroup to "Insert Control" and choose Microsoft Treeview from list. After that you can add your properties and methods etc to this class. Only access and assign methods to standart activex properties isn't works correctly
>Denis
Précédent
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