D
dch3
You know it'd be nice if the FormatConditions object exposed the .Locked
property...but it doesn't.
I need to highlight a comboBox a specific color AND restrict changes to its
value. Using the FormatConditions object, I can obviously set the .Enabled
property to False, however this overrides any .ForeColor and .BackColor set.
So I was thinking about setting the .Locked property via the OnCurrent event
of the form. Since its data-related and not format-related, the users
shouldn't see anything.
Any ideas or feedback?
property...but it doesn't.
I need to highlight a comboBox a specific color AND restrict changes to its
value. Using the FormatConditions object, I can obviously set the .Enabled
property to False, however this overrides any .ForeColor and .BackColor set.
So I was thinking about setting the .Locked property via the OnCurrent event
of the form. Since its data-related and not format-related, the users
shouldn't see anything.
Any ideas or feedback?