Information générale
Catégorie:
Contrôles ActiveX
Yes, but what if you wanted some basic code to execute in the ActiveX control and in some specialized code the user control for the GotFocus() event? I guess you can acheive this behaviour by using hooks, but it's ugly.
>If I get it right, all you need is to code a ActiveX control.
>
>In your UserControl Code (ActiveX control), you place your code for the LostFocus and GotFocus (ex: highlight text).
>
>Now, all you have to do is to put your new ActiveX control in your project.
>And because you have a LostFocus and GotFocus event for your ActiveX / UserControl (the one you have just created), you can handle the event in your project.
Précédent
Suivant
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