I have a popup menu activated by a button how can you hilite/unhilite a menu option - there is
sample code for a normal menu bit not a popup
I have tried oWnd:oMenuAddClient:UnHilite(3)
- Code: Select all Expand view
MENU oMenuAddClient POPUP
MENUITEM "Add New Customer" ;
ACTION(oCode:blank(),cOldCode := space(len(oCode:code)),oCode:append(),oLbx:SelectCol(1),oLbx:Refresh(),oLbx:SetFocus())
MENUITEM "Add New Contact" ;
ACTION(eval(bConAdd));
MENUITEM "Add New Site" ;
ACTION(eval(bDelAdd))
ENDMENU
DEFINE BUTTON oBtn2 of oBar RESOURCE "PLUS" ;
PROMPT 'Add' ;
MENU oMenuAddClient ;
TOOLTIP('Add Record')
Cheers
Colin