Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Labels
Message
From
28/04/1997 11:08:13
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
 
To
28/04/1997 10:15:01
Vinod Parwani
United Creations L.L.C.
Ad-Dulayl, Jordan
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Labels
Miscellaneous
Thread ID:
00029828
Message ID:
00029901
Views:
26
>>Thank you for your response. I will problably use your suggestion in the future.
>>
>>I wound up using the following...
>>
>>thisform.pageframe.setall('enabled',.f.,'embossedfield')
>>thisform.pageframe.setall('enabled',.f.,'embossedmemo')
>>thisform.pageframe.setall('enabled',.f.,'datetimefield')
>>thisform.pageframe.setall('enabled',.f.,'editbox')
>>
>>where the 3rd parameter is the class.
>
>I will tell you one more suggestion, Open up Wizstyle.vcx in wizards directory, open txtbtns, check the method setallprop, which is a general purpose routine to enable/disable items, It can be used after few modifications, use that.
>
>One line I can tell you which I modified:-
>
>Original
>CASE ATC(m.oControlParent.Controls[m.i].BaseClass,"CheckBox,TextBox,OleBoundControl") #
>
>I changed it to
>
>CASE ATC(m.oControlParent.Controls[m.i].BaseClass,"ComboBox,CheckBox,TextBox,OleBoundControl") #
>
>to include combo boxes also.
>
>Check this out(very useful)
Thanks //:^)
L.A.Long
ProgRes
lalong1@charter.net
Previous
Reply
Map
View

Click here to load this message in the networking platform