Hello,
I try to use the messagebar from a MDICHILD window (xbrdbu)
CODE: SELECT ALL EXPAND VIEW
....
DEFINE MSGITEM aItem[4] OF oMsgBar PROMPT IIF(Deleted(),"Deleted","") SIZE 80 COLOR CLR_HRED,CLR_HBLUE
.....
oBrw:bChange := {||aItem[4]:Settext(IIF(Deleted(),"Deleted","")),aItem[4]:Refresh()}
1) The refresh() item from bchange generates a windows error (ends the program , no error log)
2) Background color doesn't change
I tryed also with
::oWnd:oMsgBar:aItems[6]:nClrText(CLR_WHITE)
::oWnd:oMsgBar:aItems[6]:nClrPane(CLR_HRED)
::oWnd:oMsgBar:aItems[6]:SetText("Exclusive")
::oWnd:oMsgBar:aItems[6]:Refresh()
Colors doesn't change
Frank