Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing captions to controls in a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01561688
Message ID:
01561697
Vues:
76
>In a form having a pageframe with a lot of controls and some buttons out of the PF I must change captions to labels, buttons, pages and tooltiptexts. (In 3 languages for now)
>
>I think this task include some recursive code to cover every control. Equally buttons out of PF.
>
>I had use the array Form1,controls to manipulate each one but the buttons outside don´t be included.
>
>
>Had someone a sample of source from this loop?
>
>Thanks.

Not sure I understand what you ask, but assuming you want to set the captions of certain controls at run time.

The PageFrame is one of the controls you will find in your Form1.controls array. Now a pageframe has pages and each page has probably a controls array. What ever you do on a form without a pageframe you will have to do for each page.

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform