Code: Select all
METHOD SetMsg( cText ) CLASS TMsgBar
DEFAULT ::cMsg := ""
if ::l2007
::cMsg = cText
::Refresh()
return nil
endif
::GetDC() // must be placed here!!!
...
Code: Select all
METHOD SetMsg( cText ) CLASS TMsgBar
DEFAULT ::cMsg := ""
if ::l2007
::cMsg = cText
::Refresh()
return nil
endif
::GetDC() // must be placed here!!!
...
What goes wrong if we don't do this fix?Antonio Linares wrote:This is a necesary fix for FWH 7.11 in Class TMsgBar:Code: Select all
METHOD SetMsg( cText ) CLASS TMsgBar DEFAULT ::cMsg := "" if ::l2007 ::cMsg = cText ::Refresh() return nil endif ::GetDC() // must be placed here!!! ...