Is it possible to disable a control with Text (Textbox, combobox etc)
but not have the text fade?
I have a bunch of text boxes for a database, want them disabled till i
hit the edit key, not a problem, cept they are kind of hard to read
while disabled.
thanks! 8 5674
> Is it possible to disable a control with Text (Textbox, combobox etc) but not have the text fade?
I have a bunch of text boxes for a database, want them disabled till i hit the edit key, not a problem, cept they are kind of hard to read while disabled.
You could put the controls on a container (say, a Frame) and disable the
Frame. However, unless you signal that the control is disabled, this
might be confusing to the user (how is he/she to know when they can use
the control and when they can't?).
Rick - MVP
true, but it is so hard to read when everything is dimmed like that.
btw, the frame idea does work! thank you.
Rick Rothstein wrote: Is it possible to disable a control with Text (Textbox, combobox etc) but not have the text fade?
I have a bunch of text boxes for a database, want them disabled till i hit the edit key, not a problem, cept they are kind of hard to read while disabled.
You could put the controls on a container (say, a Frame) and disable the Frame. However, unless you signal that the control is disabled, this might be confusing to the user (how is he/she to know when they can use the control and when they can't?).
Rick - MVP
Another way would be to use labels to show the content, and replace them
with textboxes at the appropiate time.
B
Rick Rothstein schreef: Is it possible to disable a control with Text (Textbox, combobox etc) but not have the text fade?
I have a bunch of text boxes for a database, want them disabled till i hit the edit key, not a problem, cept they are kind of hard to read while disabled.
You could put the controls on a container (say, a Frame) and disable the Frame. However, unless you signal that the control is disabled, this might be confusing to the user (how is he/she to know when they can use the control and when they can't?).
Rick - MVP
> >>Is it possible to disable a control with Text (Textbox, combobox
etc) but not have the text fade?
I have a bunch of text boxes for a database, want them disabled till
ihit the edit key, not a problem, cept they are kind of hard to read while disabled.
You could put the controls on a container (say, a Frame) and disable
the Frame. However, unless you signal that the control is disabled, this might be confusing to the user (how is he/she to know when they can
use the control and when they can't?).
Another way would be to use labels to show the content, and replace
them with textboxes at the appropiate time.
Unless the TextBoxes are multi-lined and have scroll bars.
Rick - MVP
"B" <no****@nospam.com> wrote in message
news:dG*******************@amsnews05.chello.com... Another way would be to use labels to show the content, and replace them with textboxes at the appropiate time.
Is it possible to disable a control with Text (Textbox, combobox etc) but not have the text fade?
I have a bunch of text boxes for a database, want them disabled till i hit the edit key, not a problem, cept they are kind of hard to read while disabled.
I have found it useful to Lock the text boxes and change the background color,
instead of disabling them. This allows the user to for instance copy the text,
but still provides a visual cue that it is not editable. Try changing the
background to gray when it is locked, and to white when it is unlocked. Is it possible to disable a control with Text (Textbox, combobox etc) but not have the text fade?
I have a bunch of text boxes for a database, want them disabled till i hit the edit key, not a problem, cept they are kind of hard to read while disabled.
How about putting another transparent control (ie, a transparent label or
something) over top the text box?
I think that works. Been a while..
jody
I ended up useing the frame method... works beautifully! thanks!
schmendrick wrote: Is it possible to disable a control with Text (Textbox, combobox etc) but not have the text fade?
I have a bunch of text boxes for a database, want them disabled till i hit the edit key, not a problem, cept they are kind of hard to read while disabled.
thanks!
Locking the text boxes and using a different color scheme is a good option
since it gives the user a visual cue. I think the other method of using a
frame is ok, but even still giving the user a cue when it's ok to edit
should be used. The user may thing the application has hung up and kill the
app or reboot the machine.
-Bill
"Steve Gerrard" <my********@comcast.net> wrote in message
news:6s********************@comcast.com... "B" <no****@nospam.com> wrote in message news:dG*******************@amsnews05.chello.com... Another way would be to use labels to show the content, and replace them with textboxes at the appropiate time.
Is it possible to disable a control with Text (Textbox, combobox etc) but not have the text fade?
I have a bunch of text boxes for a database, want them disabled till i hit the edit key, not a problem, cept they are kind of hard to read while disabled.
I have found it useful to Lock the text boxes and change the background
color, instead of disabling them. This allows the user to for instance copy the
text, but still provides a visual cue that it is not editable. Try changing the background to gray when it is locked, and to white when it is unlocked.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Bil Muh |
last post by:
Esteemede Developers,
I would like to Thank All of You in advance for your sincere guidances.
I am developing a software using Visual C++ .NET Standard Edition with
Windows Form (.NET)...
|
by: Steve Drake |
last post by:
All,
I have a CONTROL that contains 1 control (Control ONE), the 1 control that
it can contain 1 or 2 control (Control A and B).
Control A, raises and event and Control ONE receives this event...
|
by: Donald Xie |
last post by:
Hi,
I noticed an interesting effect when working with controls that are
dynamically loaded. For instance, on a web form with a PlaceHolder control
named ImageHolder, I dynamically add an image...
|
by: bill yeager |
last post by:
I did some more debugging and found the following:
1) I placed the following code in the button event just
to see if I could cycle thru the datagrid control
collection:
<code>
Dim strhello As...
|
by: Bass Pro |
last post by:
Hi,
I am creating textbox, radiobuttonlist and checkboxlist dynamically
depending on data from a table. It is a questionnaire.
I add the control on a Panel control during the 1st load_page event....
|
by: Joe |
last post by:
Hello All:
I am trying to dynamically populate a web page with literal content and
controls (textboxes and checkboxes (and eventually two buttons - the buttons
do not appear in the code yet). I...
|
by: Mike Bulava |
last post by:
I have created a base form that I plan to use throughout my application let
call the form form1. I have Built the project then add another form that
inherits from form1, I add a few panel controls...
|
by: VJ |
last post by:
I am looking to have 2 Tab Controls on a Windows Forms.. One with Tabs on
Top and another with Tabs on the side... I want them both to occupy the
entire area of the form, but I need the Tab...
|
by: Ryan |
last post by:
Ok.. I have a form with lots of stuff on it; a tool strip panel, menu strip,
data binding elements (dataset, binding source, table adapter), tab control
with 7 tab pages, each page contains a...
|
by: JimWu |
last post by:
I have some problems in my code.
The stutiation illustrate as the followsing statement.
I use two pages, one, named "upload.aspx", is including several general html input tag, whose type are...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
| |