define msgitem color - Resolved!!

Post Reply
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

define msgitem color - Resolved!!

Post 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
Last edited by Silvio.Falconi on Thu Jul 11, 2019 3:44 pm, edited 1 time in total.
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
karinha
Posts: 4882
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: define msgitem color

Post by karinha »

João Santos - São Paulo - Brasil
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: define msgitem color

Post by Silvio.Falconi »

No need color but refill the msgitem background

fwexplorer.prg ?????????????????????????????????????????????????????????????????????
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
karinha
Posts: 4882
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: define msgitem color

Post by karinha »

I think, that is not possible, because it has the SET MESSAGE area.

FWEXPLOR.PRG

Regards.
João Santos - São Paulo - Brasil
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: define msgitem color

Post 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 :?:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: define msgitem color

Post 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
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
User avatar
ukoenig
Posts: 3981
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany
Contact:

Re: define msgitem color

Post by ukoenig »

Please have a look at

Testmsg3.prg for colored items

regards
Uwe :D
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
nageswaragunupudi
Posts: 8017
Joined: Sun Nov 19, 2006 5:22 am
Location: India
Contact:

Re: define msgitem color

Post 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.
Regards

G. N. Rao.
Hyderabad, India
User avatar
Silvio.Falconi
Posts: 4956
Joined: Thu Oct 18, 2012 7:17 pm

Re: define msgitem color

Post by Silvio.Falconi »

thanks
this was the problem .....I use 2015 on set message control...now run ok as i wish..

Image
I use : FiveWin for Harbour August 2020 (Revision) - Harbour 3.2.0dev (r1712141320) - Bcc7.30 - xMate ver. 1.15.3 - PellesC
Post Reply