Hi,
in our tests with 7.11 omsgbar:setmsg(ctext) is not enough any more to display message on message bar. We had to add omsgbar:display() to get text shown. With 7.01 just :setmsg(ctext) was enough.
Is this intended behavior?
Taavi.
7.11 omsgbar:setmsg() different behavior
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact:
Taavi,
Are you using the 2007 clause ?
Please notice that this is an important fix that we have recommended to apply to FWH 7.11:
Are you using the 2007 clause ?
Please notice that this is an important fix that we have recommended to apply to FWH 7.11:
Code: Select all
METHOD SetMsg( cText ) CLASS TMsgBar
DEFAULT ::cMsg := ""
if ::l2007
::cMsg = cText
::Refresh()
return nil
endif
::GetDC() // here!!!
>Are you using the 2007 clause ?
Yes
>Please notice that this is an important fix that we have recommended to >apply to FWH 7.11:
Yes, we have this fix and application is stable. The only problem is that with 2007 clause text will not be displayed until sysrefresh() or msgbar:display()
No problem, we already added omsgbar:display() to our text output procedure but if omsgbar:settext() should display text, then there is some problem with it.
Taavi.
Yes
>Please notice that this is an important fix that we have recommended to >apply to FWH 7.11:
Yes, we have this fix and application is stable. The only problem is that with 2007 clause text will not be displayed until sysrefresh() or msgbar:display()
No problem, we already added omsgbar:display() to our text output procedure but if omsgbar:settext() should display text, then there is some problem with it.
Taavi.
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Contact: