Background color in browse or grid
Moderator: Rathinagiri
-
- Posts: 99
- Joined: Mon Nov 30, 2009 7:17 am
- Location: Slovenia
- Contact:
Background color in browse or grid
Hello Friends,
is there any possibility to see which color is in the background of the selected item in the grid in browse command ?
Instead of color is always white text on blue background. The same problem is also in the grid command
To understand the problem please look at the attached picture.
I want to have green background.
br Rado
is there any possibility to see which color is in the background of the selected item in the grid in browse command ?
Instead of color is always white text on blue background. The same problem is also in the grid command
To understand the problem please look at the attached picture.
I want to have green background.
br Rado
- Attachments
-
- Capture.PNG (75.94 KiB) Viewed 10886 times
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Background color in browse or grid
Hi Radoradohabjan wrote:Hello Friends,
is there any possibility to see which color is in the background of the selected item in the grid in browse command ?
Instead of color is always white text on blue background. The same problem is also in the grid command
To understand the problem please look at the attached picture.
I want to have green background.
br Rado
Didn't tried DYNAMICBACKCOLOR ?
Viva INTERNATIONAL HMG
-
- Posts: 99
- Joined: Mon Nov 30, 2009 7:17 am
- Location: Slovenia
- Contact:
Re: Background color in browse or grid
Hello Esgici
Yes, I made green and red color with function DYNAMICBACKCOLOR, the problem is because in the selected item you
can not see the back color, because is always blue (in the attached picture is green).
br Rado
Yes, I made green and red color with function DYNAMICBACKCOLOR, the problem is because in the selected item you
can not see the back color, because is always blue (in the attached picture is green).
br Rado
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Background color in browse or grid
Could you send a SSE ( short and simple ) example ?
Viva INTERNATIONAL HMG
-
- Posts: 388
- Joined: Wed Nov 21, 2012 7:14 pm
- Location: México
Re: Background color in browse or grid
Una pregunta radohabjan, Quieres que se pueda cambiar el color de selección del item al seleccionarlo, ya que por default se selecciona con fondo azul y letra banca?
Saludos
Polo
*-------------------------------------------------------------------------------------------------------------------------
Radohabjan questions, want to be able to change the color of the item selection when selected as default is selected with blue background and lyrics banking?
regards
Polo
Saludos
Polo
*-------------------------------------------------------------------------------------------------------------------------
Radohabjan questions, want to be able to change the color of the item selection when selected as default is selected with blue background and lyrics banking?
regards
Polo
-
- Posts: 99
- Joined: Mon Nov 30, 2009 7:17 am
- Location: Slovenia
- Contact:
Re: Background color in browse or grid
Hello
demo in attache file
when you start the program, you can't see that the selected field has red backcolor (it's always blue).
br Rado
demo in attache file
when you start the program, you can't see that the selected field has red backcolor (it's always blue).
br Rado
- Attachments
-
- TEST.ZIP
- (1.19 MiB) Downloaded 555 times
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Background color in browse or grid
Hi Rado
IMO your program work correct.
Defined colors seen verbatim for inactive rows.
Probably you are expect seeing different colors for active row; in BROWSE and GRID color of active record always is white on blue and can't change-able.
Happy HMG'ing
IMO your program work correct.
Defined colors seen verbatim for inactive rows.
Probably you are expect seeing different colors for active row; in BROWSE and GRID color of active record always is white on blue and can't change-able.
Happy HMG'ing
Viva INTERNATIONAL HMG
-
- Posts: 99
- Joined: Mon Nov 30, 2009 7:17 am
- Location: Slovenia
- Contact:
Re: Background color in browse or grid
Hello Esgici,
I found one small workaround: put in front of field color picture.
The other will be TSBROWSE, but it's not in standard version HMG. Does anybody use TSBROWSE ?
br Rado
I found one small workaround: put in front of field color picture.
The other will be TSBROWSE, but it's not in standard version HMG. Does anybody use TSBROWSE ?
br Rado
- Attachments
-
- TEST1.ZIP
- (2.36 MiB) Downloaded 536 times
-
- Capture.PNG (41.46 KiB) Viewed 10762 times
-
- Posts: 99
- Joined: Mon Nov 30, 2009 7:17 am
- Location: Slovenia
- Contact:
Re: Background color in browse or grid
Hello,
by the way I found an error in BROWSE ( perhaps is the same in GRID ):
function HEADERIMAGES uses the same parameters (pictures) as function IMAGE. So you can not use both functions together.
IMAGE {"potrdi1.bmp","white1.bmp","potrdi1.bmp","potrdi1.bmp","cancel1.bmp"} ;
HEADERIMAGES { '02.bmp' ,'03.bmp' } ;
02.bmp is in this case picture potrdi1.bmp and 03.bmp is white1.bmp
br Rado
by the way I found an error in BROWSE ( perhaps is the same in GRID ):
function HEADERIMAGES uses the same parameters (pictures) as function IMAGE. So you can not use both functions together.
IMAGE {"potrdi1.bmp","white1.bmp","potrdi1.bmp","potrdi1.bmp","cancel1.bmp"} ;
HEADERIMAGES { '02.bmp' ,'03.bmp' } ;
02.bmp is in this case picture potrdi1.bmp and 03.bmp is white1.bmp
br Rado
- fouednoomen
- Posts: 188
- Joined: Sun Oct 14, 2012 8:33 am
- DBs Used: DBF, MySQL, MariaDB, SQLite, PostgreSQL, Oracle, ODBC
- Location: Tunisia
Re: Background color in browse or grid
Hello Esgici,
Can i display the first column in bold character and the second on in standard character.
One example please
regards
foued
Can i display the first column in bold character and the second on in standard character.
One example please
regards
foued