Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Install in every computer Custom Paper Size?
Message
De
27/10/2003 14:32:15
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00840704
Message ID:
00843213
Vues:
53
Great, I now have 6 versions :-)

>Great, now it Works fine, the final code looks like this (with the class)
>
>
>SET PROCEDURE TO cCustomForm.PRG
>SET CLASSLIB TO struct.vcx
>
>loForms = CREATEOBJECT("cCustomForms")
>IF loForms.CreateForm(190000,215000,"MyPaper",GETPRINTER())
>   Messagebox("Custom Form Created Sucefull")
>ELSE
>   Messagebox("Error Creating Form")
>ENDIF
>
>loForms = NULL
>RELEASE loForms
>
>
>
>
>
>>This works in VFP8 Service Pack 1:
>
>DEFINE CLASS forminfo as Struct
>  nflags = 0
>  pName = NULL
>  sizel = NULL
>  rectl = NULL
>  cMembers = "ul:nflags, pz:pName, o:sizel, o:rectl"
>
>  PROCEDURE init
>    this.sizel = CREATEOBJECT("PSIZE")
>    this.rectl = CREATEOBJECT("PRECT")
>    DODEFAULT()
>  ENDPROC
>ENDDEFINE
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform