Page 1 of 1

define msgitem color - Resolved!!

Posted: Wed Jul 10, 2019 5:35 pm
by Silvio.Falconi
I made

DEFINE MSGITEM ::oMsgItem1;
OF ::oWnd:oMsgBar ;
PROMPT ::aStatus[1] ;
SIZE 100 ;
COLOR RGB(0x9a,0xcd,0x32), RGB(0x9a,0xcd,0x32)

but I have a text colored and on msgitem is not refill with the background color
any solution please ?

I wish as this

Image

Re: define msgitem color

Posted: Wed Jul 10, 2019 6:05 pm
by karinha

Re: define msgitem color

Posted: Wed Jul 10, 2019 6:20 pm
by Silvio.Falconi
No need color but refill the msgitem background

fwexplorer.prg ?????????????????????????????????????????????????????????????????????

Re: define msgitem color

Posted: Wed Jul 10, 2019 6:56 pm
by karinha
I think, that is not possible, because it has the SET MESSAGE area.

FWEXPLOR.PRG

Regards.

Re: define msgitem color

Posted: Wed Jul 10, 2019 7:07 pm
by ukoenig
I couldn't find a problem.
but I have a text colored and on msgitem is not refill with the background color
Image

regards
Uwe :?:

Re: define msgitem color

Posted: Wed Jul 10, 2019 7:58 pm
by Silvio.Falconi
With the code i post i not see the background on each msgitem
let me see your command code to create it

Re: define msgitem color

Posted: Wed Jul 10, 2019 8:25 pm
by ukoenig
Please have a look at

Testmsg3.prg for colored items

regards
Uwe :D

Re: define msgitem color

Posted: Thu Jul 11, 2019 4:55 am
by nageswaragunupudi
You can not have background color if you create message-bar with syles 2007 or later.

You can have background color for the msgitems if you create without styles 2007 or later.

Re: define msgitem color

Posted: Thu Jul 11, 2019 7:43 am
by Silvio.Falconi
thanks
this was the problem .....I use 2015 on set message control...now run ok as i wish..

Image