Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form wizard automation
Message
From
11/08/1998 09:38:23
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
11/08/1998 09:29:40
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00125550
Message ID:
00125556
Views:
11
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform