>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