FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Msgbar in dialogs
Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
Msgbar in dialogs
Posted: Mon May 14, 2007 10:37 AM

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

kind regards

Stefan
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Msgbar in dialogs
Posted: Mon May 14, 2007 11:02 AM

Stefan,

Try this:

oDlg:oMsgbar:cMsg := "Second"

or

oDlg:oMsgbar:cMsgDef := "Second"

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
Msgbar in dialogs
Posted: Mon May 14, 2007 04:20 PM
Antonio,

Antonio Linares wrote:Stefan,

Try this:

oDlg:cMsg := "Second"

or

oDlg:cMsgDef := "Second"


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

Thanks

Stefan
kind regards

Stefan

Continue the discussion