Msgbar in dialogs

Msgbar in dialogs

Postby StefanHaupt » 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
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Postby Antonio Linares » 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
User avatar
Antonio Linares
Site Admin
 
Posts: 42078
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby StefanHaupt » Mon May 14, 2007 4:20 pm

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
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 30 guests