UnHilite/Hilite Popup Menu Option
Posted: Tue Jul 02, 2013 5:04 am
Hi All
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)
Cheers
Colin
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
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')
Colin