Dear All,
How can I change background color (ClrPane) of POPMENU? I try COLORMENU COLORSELECT but it doesn't change.
Thanks in advance,
dutch wrote:Dear All,
How can I change background color (ClrPane) of POPMENU? I try COLORMENU COLORSELECT but it doesn't change.
Thanks in advance,
MENU oPopup POPUP 2013 FONT oFontX NOBORDER ;
COLORMENU CLR_VSBAR, CLR_BLUE ; //nClrTxtBrw ; //nClrBackBrw
COLORSELECT nClrTxtBrw, nClrTxtBrw, nClrBackBrw ;
LEFTCOLOR CLR_WHITE, CLR_HGRAY COLORSEPARATOR CLR_BLUE COLORBOX CLR_WHITE
IF BGcolor = Rgb( 0, 0, 1 )
// msginfo("oMenu black")
MENU oMenu 2013 POPUP ;
COLORMENU BGcolor, BFcolor ;
COLORPNEL BFcolor, BGcolor ;
COLORLEFT BFcolor, BGcolor ;
COLORSELECT BFcolor, BGcolor, BFcolor
ELSEIF BGColor = 256 * 256 * 256 - 1 // 16777215
// msginfo("oMenu white")
MENU oMenu 2013 POPUP ;
COLORSELECT GetSysColor( COLOR_MENUHILIGHT ), GetSysColor( COLOR_MENUHILIGHT ), GetSysColor( COLOR_MENU )
ELSE
MENU oMenu 2013 POPUP ;
COLORMENU BGcolor, BFcolor ;
COLORPNEL BFcolor, BGcolor ;
COLORLEFT BFcolor, BGcolor ;
COLORSELECT BFcolor, BFcolor, BGcolor
ENDIF
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 85 guests