- Code: Select all Expand view
// C:\FWH..\SAMPLES\DSAY2.PRG
#Include "FiveWin.ch"
FUNCTION Main()
LOCAL cText := MemoRead( "c:\fwh\samples\maria01.prg" )
LOCAL oDlg, oMsg, oFont, oBold
DEFINE FONT oFont NAME "LUCIDA CONSOLE" SIZE 0,-14
DEFINE FONT oBold NAME "VERDANA" SIZE 0,-32
DEFINE DIALOG oDlg SIZE 800, 500 PIXEL TRUEPIXEL
oDlg:lHelpIcon := .F.
@ 100,100 SCROLLMSG "FiveWin Power : New Scroll Msg class" ;
SIZE 600, 40 PIXEL OF oDlg ;
FONT oBold COLOR CLR_BLACK, CLR_HGREEN HORIZONTAL ;
SPEED 1
@ 200,100 SCROLLMSG oMsg TEXT cText SIZE 600, 200 PIXEL OF oDlg ;
FONT oFont COLOR CLR_HRED, CLR_YELLOW SPEED 1
ACTIVATE DIALOG oDlg CENTERED
RELEASE FONT oFont, oBold
RETURN NIL
// FIN
Gracias.
Regards, saludos.