Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to Install in every computer Custom Paper Size?
Message
 
 
To
27/10/2003 09:31:54
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00840704
Message ID:
00842930
Views:
29
>Lazy, and yes. Updated accordingly!

Hi Jim,

Here's even shorter version using Ed Rauh's ClsHeap class.
... 
SET PROCEDURE TO clsheap ADDITIVE
oHeap = NEWOBJECT("heap", "clsheap.fxp")
* Build FORM_INFO_1 structure
cForm = NumToLOng(0) + ;		&& Flags
		NumToLOng(oHeap.AllocString("MyCustomForm")) + ;	&& Form Name
		NumToLOng(190000) + ;	&& cx
		NumToLOng(215000) + ;	&& cy
		NumToLOng(0) + ;	&& Left
		NumToLOng(0) + ;	&& Top
		NumToLOng(1900000) + ;	&& Right
		NumToLOng(215000) 	&& Bottom
...
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform