Msgbar in dialogs

Post Reply
StefanHaupt
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Msgbar in dialogs

Post by StefanHaupt »

Hi,

how can I change the text of the msgbar I put in a dialog ?

...
ON INIT oDlg:oMsgbar := TMsgbar():New(oDlg, "Text1", ....) shows the bar

But

oDlg:oMsgbar:SetMsg ("Second") does not change the text
....

Stefan
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Stefan,

Try this:

oDlg:oMsgbar:cMsg := "Second"

or

oDlg:oMsgbar:cMsgDef := "Second"
regards, saludos

Antonio Linares
www.fivetechsoft.com
StefanHaupt
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Post by StefanHaupt »

Antonio,
Antonio Linares wrote:Stefan,

Try this:

oDlg:oMsgbar:cMsg := "Second"

or

oDlg:oMsgbar:cMsgDef := "Second"
it is working with oDlg:oMsgbar:cMsgDef := "...", but you have additionally to call oDLg:oMsgbar:Refresh().

Thanks

Stefan
Post Reply