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:
00368510
Vues:
16
Nick,
I was referring to the Tag property of Label fields
.i.e ThisField.Tag where thisfield happens to be a label

>>=IIF("." $ this.controlsource,SUBSTR(this.controlsource, AT(".",this.controlsource)+1), this.controlsource)

Where would you type in this text ?


Regards





>>>I find myself in form design needing to do following quite a lot:
>>>
>>>1. I have set up a no. of fields on the form
>>>2. Now, I want to automatically set thr 'Tag' property of
>>> every 'label' field to the associated field's name
>>>
>>>e.g. My label fields are : Fld1,Fld2,Fld3,Fld4
>>>
>>>I then want the tag property of each of these fields to be:
>>> fld1,fld2,fld3,fld4 etc.
>>>
>>>Every time I set up a form, I have to go into each field manually and change the tag. I reckon there must be a better way...maybe using a builder but I have never used these .
>>>
>>>Thanks,
>>>
>>>Gerard
>>
>>Gerard, select your multiple controls in Form Designer and set their Tag property to:
>>
>>=IIF("." $ this.controlsource,SUBSTR(this.controlsource, AT(".",this.controlsource)+1), this.controlsource)
>
>I hope I understand you right - are you talking about .Tag property of textboxes or .Caption(Tag?) property of the labels associated with those textboxes?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform