enabled property of textbox control 
Author Message
 enabled property of textbox control

Quote:
>is there any way to set the forecolor property to 0 (black) for a textbox when
>the control is disabled

If you want to preserve the forecolor, you can try locking the control
rather than disabling it, by setting the Locked property to True.

Matt

====================================

http://www.*-*-*.com/

CodeHound - The Software Developer's Search Engine
http://www.*-*-*.com/



Mon, 08 Sep 2003 08:37:57 GMT  
 enabled property of textbox control
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



Mon, 08 Sep 2003 08:37:17 GMT  
 enabled property of textbox control

is there any way to set the forecolor property to 0 (black) for a textbox when
the control is disabled

thanks

m



Mon, 08 Sep 2003 08:25:12 GMT  
 enabled property of textbox control
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

.



Mon, 08 Sep 2003 09:05:39 GMT  
 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

.



Mon, 08 Sep 2003 09:31:34 GMT  
 enabled property of textbox control


Fri, 19 Jun 1992 00:00:00 GMT  
 enabled property of textbox control
that did the trick

10x !!!

Quote:
-----Original Message-----

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

-----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

..

.



Mon, 08 Sep 2003 10:17:18 GMT  
 
 [ 7 post ] 

 Relevant Pages 

1. Enabled property of textbox.

2. Textbox, Enable-Property, Graystyle

3. TextBox Enabled property

4. URLs not enabled in Textbox control

5. enabled property of stock controls, specifically labels

6. ***anyone used Timer control RTSenable property to enable rs485 transmitter?***

7. Access .text property of a textbox control in a Word Doc

8. Textbox and RTF controls .SelectionStart property differences

9. Changing the Background (color) property for all Textbox controls

10. textbox control multiline property at run-time

11. Setting Multiline property on textbox control array.

12. Read-only constituent TextBox control properties

 

 
Powered by phpBB® Forum Software