We now have a multitude of styles for controls. 2007, 2010, 2013, 2015
Could someone review how they are different ? Thank you.
MENU ::oMenu FONT ::oFontX NOBORDER //ROUND 6 //HEIGHT 2
::oMenu:l2007 := ( ::nStyle == 2007 )
::oMenu:l2010 := ( ::nStyle == 2010 )
::oMenu:l2013 := ( ::nStyle == 2013 )
::oMenu:l2015 := ( ::nStyle == 2015 )
::oMenu:SetColors()
if ::oMenu:l2013 //Only, style 2013 can be modified
::oMenu:nClrText := ::nColorBarI
endif
DEFINE BUTTONBAR ::oBar SIZE nSize, nSize OF ::oWnd
::oBar:SetFont( ::oFontCtrls )
::oBar:bRClicked := { | o | .T. }
::oBar:l2007 := ( ::nStyle == 2007 )
::oBar:l2010 := ( ::nStyle == 2010 )
::oBar:l2013 := ( ::nStyle == 2013 )
::oBar:l2015 := ( ::nStyle == 2015 )
::oBar:SetGradients()
TimStone wrote:Thank you. I have no problem specifying them but I was looking for the display differences you showed in the images.
Tim
TimStone wrote:I can't get anything but grey for a background with any style except 2007.
When I looked at the current class versus the current FiveWin.ch file, it would appear the include file does not match the class ( for commands ). Maybe this is part of the problem.
Tim
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 55 guests