Page 1 of 2
Background color in browse or grid
Posted: Thu Jan 10, 2013 7:27 pm
by radohabjan
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
Re: Background color in browse or grid
Posted: Thu Jan 10, 2013 8:35 pm
by esgici
radohabjan 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
Hi Rado
Didn't tried DYNAMICBACKCOLOR ?
Re: Background color in browse or grid
Posted: Thu Jan 10, 2013 9:29 pm
by radohabjan
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
Re: Background color in browse or grid
Posted: Thu Jan 10, 2013 10:16 pm
by esgici
Could you send a SSE ( short and simple ) example ?
Re: Background color in browse or grid
Posted: Thu Jan 10, 2013 11:07 pm
by Leopoldo Blancas
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
Re: Background color in browse or grid
Posted: Fri Jan 11, 2013 8:09 am
by radohabjan
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
Re: Background color in browse or grid
Posted: Fri Jan 11, 2013 4:29 pm
by esgici
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
Re: Background color in browse or grid
Posted: Fri Jan 11, 2013 6:09 pm
by radohabjan
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
Re: Background color in browse or grid
Posted: Fri Jan 11, 2013 7:35 pm
by radohabjan
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
Re: Background color in browse or grid
Posted: Sun Jan 13, 2013 11:50 am
by fouednoomen
Hello Esgici,
Can i display the first column in bold character and the second on in standard character.
One example please
regards
foued