FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour GEt change colors
Posts: 7318
Joined: Thu Oct 18, 2012 07:17 PM
GEt change colors
Posted: Fri Jan 16, 2015 12:33 PM

If a get is readonly not is colorized as I wish

for a sample :

If I have for a sample a get

@ nrow, ncol get aGet[1] var ix9 pict "9" PIXEL SIZE SIZEX,SIZEY OF oDlg NOBORDER FONT oFontNumeri UPDATE

and then I call aGet[1]:setcolor(CLR_BLACK, CLR_HGRAY)

it is colorize

if I call the command

aGet[1]:lReadOnly:= .t.

it return background white and text black why ?

Can i put the colors when it is readonly ?

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: 389
Joined: Mon Oct 13, 2008 11:26 AM
Re: GEt change colors
Posted: Fri Jan 16, 2015 04:57 PM

Try: Activate Dialog oDlg On Init ( oObj:lReadOnly := .T. )
Instead of define the ReadOnly before activation

Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2

Continue the discussion