larl473032004 wrote:
It seems that ContextMenu ... "Does not work" with any of these Controls: Text - Picture - MonCal - ComboBox - Edit - Groupbox
I just tested it and it seems to work. However, I notice that a Text control inside a GroupBox isn't detected for right-click, which might be the same thing you were seeing if a text control is inside a tab control. I'll look into this.
Here's a test script:
Code:
Gui, Add, Text, vMyText1, Right click anywhere in this window.
Gui, Add, GroupBox, vMyGroupbox r5, Sample Group
Gui, Add, Button, vMyButton xp+10 yp+25, Sample Button
Gui, Add, Text, vMyText2, Sample Text
Gui, Add, Edit, r2, This has its own,`nbuilt-in context menu.
Gui, Show
return
GuiContextMenu:
ToolTip You right-clicked %A_GuiControl%.
return
GuiClose:
ExitApp
Also note that MonthCal and Edit have their own context menus, which has been documented.