
enabled property of textbox control
Ok, if all else fails, go with the "hack"... :o)
Place your text box inside a "borderless" Frame control and disable the
frame. Your Textbox forecolor will be black, but it will not respond to any
user input.
I don't want the control to be locked, becuase I don't want the user to be
able
to click on the field at all. It is too distracting, and when they click off
the
field, it triggers a lost focus, which i need for something else.
When they decide to edit (maybe by clciking a command button) I want the
controls
enabled, and I want to change the back color, so they know they are enabled,
and
the can edit.
This may sound petty, but the disabled color (light grey) is too hard to
see. I
want it to be black.
There must be some way????
m
Quote:
-----Original Message-----
Maybe the Locked property would suit your needs? When set, it allows the
user to highlight text (and scroll if need be), but they can't change
anything -- it also keeps the text black.
--
Good Luck,
Joe
is there any way to set the forecolor property to 0 (black) for a textbox
when
the control is disabled
thanks
m
.