>>>The user right clicks a control which produces a shortcut menu. The choice then executes procedure code built into the shortcut. The procedure code needs to know a property value of the control that was right clicked. Is there a way to pass this value to the procedure code other than setting it as a public or private variable?
>>>
>>>Thanks
>>
>>The quick answer is yes, though I don't remember how. I do remember in the past I used a nice special class for shortcut menu...
>>
>>Also would thisform.ActiveControl work in your case to find what was clicked?
>
>thisform.activecontrol would give me the value inside of the rightclick event but it would still need to be passed to the shortcut. My past experience is that you can't use thisform inside of a menu.
Here is what I found
Re: Shortcut menu on EditBox Thread #
610274 Message #
610599
If it's not broken, fix it until it is.
My Blog