Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set properties for multiple objects
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00368236
Message ID:
00368523
Vues:
11
>Nick,
>I was referring to the Tag property of Label fields
>.i.e ThisField.Tag where thisfield happens to be a label

Then it is more difficult, because the textbox knows what it's controlsource is, but the label does not know which textbox it belongs to. If you create your labels and textboxes by dragging the field to the form from the Dataenvironment therefore they have common parts in their names, then more elaborated code could do this. But, why do you want to set label.Tag to the name of the coressponding textbox.controlsource field?

>>>=IIF("." $ this.controlsource,SUBSTR(this.controlsource, AT(".",this.controlsource)+1), this.controlsource)
>
>Where would you type in this text ?
>

I meant to type it right in the PEM sheet in the Tag property
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform