Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More Problems with EnumForms
Message
De
02/08/2001 11:07:16
Calvin Smith
Wayne Reaves Computer Systems
Macon, Georgie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00538518
Message ID:
00538853
Vues:
16
Garrett,
I finally got the #@@!! EnumForms function to work, at least I thing I did. It tells me I have 122 forms defined on my resident printer. That does not seem correct but I guess there are a lot of defined label sizes etc. I am now stumped as to what to do with this information. You mentioned in your original posting about changing the dimension of the clsPrinterForms.aforms array when it was determined how many forms were involved. I don't understand the mechanisms of this. The code goes like this
1. enumforms(....) - determine the size of the buffer
2. create the clsprinter forms object
3. do the getpointer funct on that object passing the required buffer size
4. call enumforms again to get the number of forms.

This only fills out 1 aforms structure. How do I fill out the other 121 aforms structures?

Thank you...
A problem is a problem only as long as it has a possible solution. Lacking that, it becomes a FACT!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform