FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse-rowcolors ( Download )
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM

xBrowse-rowcolors ( Download )

Posted: Sat May 16, 2015 12:24 PM
A little xBrowse-rowpainter

1. zebra-color 1
2. zebra-text-color 1 // neded to use dark row-colors
3. zebra-color 2
4. zebra-text-color 2 // neded to use dark row-colors
5. zebra-focus-color
6. zebra-focus-text-color // neded to use dark row-colors


DOWNLOAD full source
http://www.pflegeplus.com/DOWNLOADS/Xbrwrows1.zip

The painter
( values can be saved to a INI )



shows the selected colors :



best regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM

Re: xBrowse-rowcolors ( Download )

Posted: Sat May 16, 2015 04:14 PM
Uwe, I made a Class easy to set xbrowse features
Please see viewtopic.php?f=3&t=30706

sample :

@ 10, 10 XBROWSE oBrw OF oDlg SIZE 300, 195 PIXEL ;
AUTOCOLS ALIAS 'CUST' NOBORDER

oConfig:= TBrwSetup():New(oBrw,oDlg,cIniUser,cSection,cPref,cIniEntry)

// to read inifile
oConfig:BrwRowConfig(cIniUser,cSection,cPref,oBrw)

oBrw:CreateFromCode()
oBrw:RestoreState( cState )
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM

Re: xBrowse-rowcolors ( Download )

Posted: Sun May 17, 2015 06:50 PM
Solution 2

no extra dialog for color-selection needed.

1. select a color-type from the radios
2. click on the color-image
3. adjust the brightness of the color from the gradient-image.


Just a question : how to center the button-prompt ?

DOWNLOAD
http://www.pflegeplus.com/DOWNLOADS/Xbrwrows2.zip



best regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.

Continue the discussion