wyoung71
Programmer
- Sep 17, 2008
- 13
I was wondering if there is anyway to tell which control caused my function to fire up?
Basically I have a TextBox that has an OnDoubleClick Event. I have set the event to fire up a procedure in a module. So is there anyway of dicerning which textbox was clicked without specifically passing it as a parameter to the module.
What I'm trying to accomplish is I have a form that opens up on Double click but I also want to have the same form available on a shortcut menu when the user right clicks the textbox.
Any thoughts?
Thanks,
Bill
Basically I have a TextBox that has an OnDoubleClick Event. I have set the event to fire up a procedure in a module. So is there anyway of dicerning which textbox was clicked without specifically passing it as a parameter to the module.
What I'm trying to accomplish is I have a form that opens up on Double click but I also want to have the same form available on a shortcut menu when the user right clicks the textbox.
Any thoughts?
Thanks,
Bill