Rick,
>I would like to place a control on a form that is used for reference only. I don't want it to be enabled, visible, or modifiable. I have set the properties for this control in the designer as follows:
>
>Enable = false
>ReadOnly = true
>Visible = false
>
>When I run the form the control appears enabled, modifiable, and visible. What am I doing wrong???
You need to turn off MM.NET's auto-enable feature. If you retrieve data from the back end and there are no rows in the data table, MM.NET automatically disables UI controls by default (and if there IS data, it enables them). To turn off this behavior, set the mmTextBox control's AutoSetEnabled property = false. For more information, check out the MM.NET Dev Guide topic "Automatically Disabling and Enabling Controls".
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