Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting Objects within a form
Message
De
10/11/2003 05:27:25
Erick Miranda
Formata Data Business - Grupo Linx
Contagem, Brésil
 
 
À
10/11/2003 00:34:41
Rinie Arellano
Chase Tech. Corp.
Philippines
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00848161
Message ID:
00848194
Vues:
16
Hi Rinie!

>How can I get all the object names included in a form during run time?Coz I for instance I have to change the caption from english characters into chinese characters.Hope you could help me.

Try:
For Each loControl In thisForm.Controls
   * Get name
   lsName = loControl.Name

   * Change caption property
   If Type("loControl.Caption") <> "U"
      loControl.Caption = "New Caption"
   Endif
EndFor
I hope this help you.
Bye!
Erick
Força Sempre!
Strength Always!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform