Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing captions to controls in a form
Message
 
To
07/01/2013 21:54:24
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01561688
Message ID:
01561697
Views:
75
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform