General information
Category:
Menus & Menu designer
Environment versions
Network:
Windows 2008 Server
>>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.
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