SET MESSAGE of oWnd1 TO "" COLOR CLR_WHITE,CLR_BLUE NOINSET //DATE CLOCK
oWnd1:oMsgBar:DateOn()
oWnd1:oMsgBar:clockOn()
oWnd1:oMsgBar:cMsgDef := "YOU ARE WORKING ON ENTITY NO. " +SUBSTR(GLD,5,3)+", "+ALLTRIM(MCOMPNAME)
oWnd1:oMsgBar:setMsg("")
#include 'fivewin.ch'
function Main()
local ownd
DEFINE WINDOW oWnd
@ 100,40 BUTTON 'ReviseMsg' SIZE 100,30 PIXEL OF oWnd ;
MESSAGE 'Click to change MessageBar Default Message' ;
ACTION ( oWnd:oMsgBar:cMsgDef := 'Revised Message', oWnd:oMsgBar:Refresh() )
SET MESSAGE OF oWnd TO 'Initial Message' 2007
ACTIVATE WINDOW oWnd
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: cmsoft and 67 guests