Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to identify each object of a form (to do a unique ke
Message
De
23/11/1999 19:25:10
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00294647
Message ID:
00294724
Vues:
15
>I am trying to do a kind of translation program. By pressing F12 on a running form, it would save the caption (or whatever) of each object of the form and save it in a database. The captions, now in the database, will be translated and in the init of the form, each object will get the caption change to the translated value.
>So I need to identify each separate object so I can retrieve them.
>Something like container1.container1.object_n, or is there a unique number or something assign uniquely to each object?
>
>Any suggestion?
>
>Thanks
>Eric

I think you'll want a combination of a recursive method to drill down through the controls, and the SYS(1272) function, which returns an object's containership hierarchy. Since you need an absolute reference to the object, you will need SYS(1272)'s results in your table.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform