Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More Problems with EnumForms
Message
 
À
02/08/2001 22:20:37
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:
00539372
Vues:
9
Calvin,

After doing some research, I think that it might be possible to accomplish this without resorting to EnumForms(). One thing I've noticed is that the number of forms returned by it is usually far in excess of the forms available to the user. I think that you can accomplish what you're trying to do by using GetForm() and SetForm(). This is a SWAG, however. I'd try first using GetForm() to retrieve the structure for the desired form, then SetForm() to with the return value to set it. The problem here would be retrieving the current default. If it's "Letter" then you'd simply have to retriving that, then the desired form, set the desired, then restore the default from the first call to GetForm().
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform