Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form wizard automation
Message
De
11/08/1998 09:38:23
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
11/08/1998 09:29:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00125550
Message ID:
00125556
Vues:
10
>The form wizard produces labels whose names are derived from their respective field names. If a logical field is named RECOMMEND, the wizard will produce a label named LBLRECOMMEND1.
>
>I would like the GotFocus Method of the wizstyle.vcx embossedlogic class to have the following properties:
>
>This.Parent.LBLFIELDNAME1.autosize=.T.
>This.Parent.LBLFIELDNAME1.fontbold=.T.
>
>How do I have the wizard automatically insert the appropriate label name (eg. LBLRECOMMEND1) into this GotFocus Method?
Wizards could be customized too but I don't use the wizards so didn't hack much. But instead you could add this code to your form.init :
this.setall("autosize",.t.,"Label")
this.setall("fontbold",.t.,"Label")
Or select all label controls and set those props in PEM sheet.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform