Is it possible to modify runtime the picture of a TSay object?
#include "fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
LOCAL oSay , cSay := "99"
LOCAL oBut1 , oBut2
LOCAL oFont
DEFINE FONT oFont NAME "Arial" SIZE 0 , -14
DEFINE DIALOG oDlg  FONT oFont
@ 1 , Â 1 SAY oSAY PROMPT cSay OF oDlg BORDER COLOR CLR_BLACK , CLR_WHITE
@ 3 , Â 1 BUTTON oBut1 ACTION ( oSay:oFont:lBold := .T. Â , oSay:repaint(.T.) )
@ 3 , 10 BUTTON oBut2 ACTION ( oSay:oFont:lBold := .F. Â , oSay:repaint(.T.) )
ACTIVATE DIALOG oDlg
RELEASE FONT oFOnt
RETURN NILMarco Boschi
info@marcoboschi.it
info@marcoboschi.it