General information
Category:
ActiveX controls
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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only