Search found 1578 matches: colors

Return to advanced search

Re: Change Footer colors (xBrowse)

hi Friends

Code: Select all  Expand view

   oCol:bClrFooter    := {|| {CLR_GREEN, CLR_BLUE}  }                    //  CLR_BLUE not working.........
 
by Willi Quintana
Mon Jan 30, 2023 2:08 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change Footer colors (xBrowse)
Replies: 10
Views: 926

Re: Change Footer colors (xBrowse)

Hi,
this code...

Code: Select all  Expand view

    oCol:bClrFooter    := {|| {IF(oBrw:oCol(9):nTotal > 0, CLR_RED, CLR_BLACK), CLR_YELLOW}  }
 
by Willi Quintana
Mon Jan 30, 2023 12:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change Footer colors (xBrowse)
Replies: 10
Views: 926

Re: Change Footer colors (xBrowse)

Sorry, I got it! Is the update method not enough aCols[cl]:RefreshFooter() ?
by Natter
Sun Jan 29, 2023 8:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change Footer colors (xBrowse)
Replies: 10
Views: 926

Re: Color of rows in the cell

... 2) We know bClrStd returns a color pair { nClrText, nClrBack } If instead of returning a single color as nClrText, if we return an array of colors, those colors are used in the place of aClrText. This example code also works like the above sample: WITH OBJECT oBrw:aCols[ 2 ]  ...
by nageswaragunupudi
Sat Jan 28, 2023 1:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Color of rows in the cell
Replies: 5
Views: 474

Re: Change Footer colors (xBrowse)

return color pair { nClrText, nClrBack } when your bClrFooter is evaluated.
by nageswaragunupudi
Sat Jan 28, 2023 12:44 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change Footer colors (xBrowse)
Replies: 10
Views: 926

Re: Change Footer colors (xBrowse)

Thank you for your help !
Of course, I immediately tried the construction of
aCols[cl]:bClrFooter:={||{RGB(...), RGB(...)}}
aCols[cl]:RefreshFooter()
But at the same time, only the font color changes, and the background color does not change :(
by Natter
Sat Jan 28, 2023 10:21 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change Footer colors (xBrowse)
Replies: 10
Views: 926

Re: Change Footer colors (xBrowse)

Hi,
Code: Select all  Expand view

                         oCol:bClrFooter    := {|| {IF(oBrw:oCol(9):nTotal > 0, CLR_RED, CLR_BLACK), }  }

 
by Willi Quintana
Sat Jan 28, 2023 4:39 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change Footer colors (xBrowse)
Replies: 10
Views: 926

Re: Change Footer colors (xBrowse)

Did you already make a looking for "footer color"?
Regards
by FranciscoA
Thu Jan 26, 2023 4:00 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change Footer colors (xBrowse)
Replies: 10
Views: 926

Change Footer colors (xBrowse)

Is there any example of an interactive color change in Footer (xBrowse) ?
by Natter
Thu Jan 26, 2023 10:06 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Change Footer colors (xBrowse)
Replies: 10
Views: 926

Re: Color of rows in the cell

Hi, To display lines in different colors in the xbrowse cell, I specify aCols [1]: aClrText: = {CLR _ BLACK, CLR_RED}. Is it possible to make this setting not for all xBrose lines, but according to a certain condition ? #include "fivewin.ch"function ...
by nageswaragunupudi
Wed Jan 25, 2023 8:25 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Color of rows in the cell
Replies: 5
Views: 474

Re: Color of rows in the cell

This is an example for the whole cell, but I asked about coloring the lines in the cell with different colors.

tex1+CRLF+text2+CRLF+text3
by Natter
Tue Jan 24, 2023 7:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Color of rows in the cell
Replies: 5
Views: 474

Color of rows in the cell

Hi,

To display lines in different colors in the xbrowse cell, I specify aCols [1]: aClrText: = {CLR _ BLACK, CLR_RED}.
Is it possible to make this setting not for all xBrose lines, but according to a certain condition ?
by Natter
Mon Jan 23, 2023 11:59 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Color of rows in the cell
Replies: 5
Views: 474

alternate columns colors

coloring alternate rows we can do oBrw:bClrStd := { || { CLR_BLACK, If( oBrw:KeyNo % 2 == 0, nColor1, nColor2 ) } } how can we color the columns alternately? For a sample if I wish colorized only the 4th colomn I made Function Alternate_Columns(nColor1,oBrw)   local aPos  := { { 1,...
by Silvio.Falconi
Mon Jan 09, 2023 12:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: alternate columns colors
Replies: 0
Views: 176

New FTDN December/Diciembre 2022 (FW 22.12)

... - When using Incremental Filter feature, the totals are not recalculated. Fixed. - In fullgrid browse, if new data lFullGridClr is set to .T., the colors of each column is extended till bottom, like Excel. * New functions in olefuncs.prg: - WinHttpObj( [[@]cCls] ) --> oHttp - FileSysObj() --> ...
by Antonio Linares
Tue Jan 03, 2023 7:31 am
 
Forum: WhatsNew / Novedades
Topic: New FTDN December/Diciembre 2022 (FW 22.12)
Replies: 5
Views: 1246

Re: MDI child window appearance

... like "UxTheme" https://learn.microsoft.com/en-us/windows/win32/api/uxtheme/nf-uxtheme-getwindowtheme where is possitble to change some colors or read information about the theme. I have not used that because I was affraid it not works for all the Windows Versions, so for my needed the ...
by Silvio.Falconi
Sun Jan 01, 2023 10:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MDI child window appearance
Replies: 50
Views: 4213
PreviousNext

Return to advanced search