Hi,
When a popup menu is activated, the highlight is not show, and the user must first press up or down to see the highlight. Is there a way to automatically highlight the first item?
Alex
function ShowPopup( nRow, nCol )
oMenu := BuildPopup()
// This one!
oMenu:aItems[ 1 ]:bWhen = { || oMenu:oWnd := oWnd, oMenu:Hilite( 1 ), oMenu:aItems[ 1 ]:bWhen := nil }
ACTIVATE POPUP oMenu WINDOW oWnd AT nRow, nCol
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 57 guests