Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Read only controls NOT
Message
 
To
12/10/2007 11:00:34
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01260567
Message ID:
01260775
Views:
8
Tony,

>I have a Maint. form, and have set a number of bound controls' properties to Enabled False, and Readonly True, because I don't want the user to changed their values, yet they can change others.
>
>But if I enter the read only control and change the text, and save the record these values get saved.
>
>How come these aren't being honored as read only?

You need to set AutoSetEnabled = false for these controls. Check out the MM .NET Dev Guide topic "Automatically Enabling and Disabling Controls" for details.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Reply
Map
View

Click here to load this message in the networking platform