-
I have a custom control that I purchased that does not have a click event. I have contacted the developer and am waiting a response. Is there a way that I can add a click event? maybe manipulate the forms click event some how? All it has is GotFocus, LostFocus, DragDrop, DragOver, and Validate events. Is the a mouse object that I can declare, something, anything??
Thanks,
-
I think your out of luck on this, unless you have the
source code. If you had the source code it would be
easy to add a mouse click event and then re-compile,
but with a store-bought control, you are pretty much
out of luck. Hope your e-mail to the author yields
results.
-
Thanks
Thanks for the reply. That's pretty much what I figured. Why on earth would they not put in a click event??
Very Frustrating
-
Dont loose hope, of cource there is a way (I think)
all you have to do is put a LABEL control over it with a transparent back ground, that should fix the problem
-
Tried it
I had thought about your suggestion. One thing is that I can't seem to get the label actually over the control (custom imagebox), and during runtime I actually create more imageboxes that overlap, as many as specified by the user. If I could get the label over the original in design time would the same apply to subsequent imageboxes created at run time?
Thanks for the suggestion
-
You can create your own custom control, that just display's the custom control you purchased. And all the propertie's map to the control that are in it. Do you get what I mean?
-
Use the label's ZOrder method with the vbBringToFront parameter to make it stay on top:
Label1.ZOrder vbBringToFront