Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
IntelliSense Still not work with with...endwith ?
Message
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00909818
Message ID:
00909827
Views:
17
>VFP9 ROCK!!

Indeed it does. :-)
CREATE CURSOR crsrFontList ( ;
	cFont char(30))	

llGotFonts = AFONT(laFonts)
FOR i = 1 TO ALEN(laFonts)
	INSERT INTO crsrFontList VALUES (laFonts(i))
ENDFOR	

CREATE REPORT fontList FROM DBF("crsrFontList")	
loListen = CREATEOBJECT("myFontListener")	
REPORT FORM fontList PREVIEW OBJECT loListen 	

DEFINE CLASS myFontListener as ReportListener
	ListenerType = 1	

	PROCEDURE EvaluateContents	
	LPARAMETERS nFrxRecno, oObjProperties	
		oObjProperties.FontName = ALLTRIM(cFont)
		oObjProperties.Reload = .T.
	ENDPROC
ENDDEFINE
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform