473,405 Members | 2,171 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Text Box Question

I want to set a text box so that the user cannot select it.
If I set the "enabled" property to "false" this has the desired effect but
the text is greyed out and not to easy to read.
Is there another way to stop the user selecting the box without greying out
the text or a way to change the font when using the enabled property?

TIA
--
Peter
To err is human but it takes a computer to really mess things up!
Jul 17 '05 #1
4 5058
On Sun, 06 Mar 2005 17:52:52 GMT, "Peter" <ga*****@SPAMblueyonder.co.uk> wrote:
I want to set a text box so that the user cannot select it.
If I set the "enabled" property to "false" this has the desired effect but
the text is greyed out and not to easy to read.
Is there another way to stop the user selecting the box without greying out
the text or a way to change the font when using the enabled property?

TIA


Perhaps setting the LOCKED property to TRUE will work for you.
This will prevent the user from making any changes to the text.

Val Mehling
valjm16@DELETE_THISearthlink.net
Jul 17 '05 #2
On Sun, 06 Mar 2005 17:52:52 GMT, "Peter" <ga*****@SPAMblueyonder.co.uk> wrote:
I want to set a text box so that the user cannot select it.
If I set the "enabled" property to "false" this has the desired effect but
the text is greyed out and not to easy to read.
Is there another way to stop the user selecting the box without greying out
the text or a way to change the font when using the enabled property?

TIA


Perhaps setting the LOCKED property to TRUE will work for you.
This will prevent the user from making any changes to the text.

Val Mehling
valjm16@DELETE_THISearthlink.net
Jul 17 '05 #3
Have a look at the "locked" property.

"Peter" <ga*****@SPAMblueyonder.co.uk> wrote in message
news:Ur*******************@fe2.news.blueyonder.co. uk...
I want to set a text box so that the user cannot select it.
If I set the "enabled" property to "false" this has the desired effect but
the text is greyed out and not to easy to read.
Is there another way to stop the user selecting the box without greying out the text or a way to change the font when using the enabled property?

TIA
--
Peter
To err is human but it takes a computer to really mess things up!

Jul 17 '05 #4
Have a look at the "locked" property.

"Peter" <ga*****@SPAMblueyonder.co.uk> wrote in message
news:Ur*******************@fe2.news.blueyonder.co. uk...
I want to set a text box so that the user cannot select it.
If I set the "enabled" property to "false" this has the desired effect but
the text is greyed out and not to easy to read.
Is there another way to stop the user selecting the box without greying out the text or a way to change the font when using the enabled property?

TIA
--
Peter
To err is human but it takes a computer to really mess things up!

Jul 17 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Randell D. | last post by:
Folks, I'm still learning javascript - I've invested in a couple of books and reading online as much as possible. I'm pretty sure what I am suggesting is possible though I'm trying to weigh up...
11
by: Yeah | last post by:
I have a multiple choice quiz where I would like to use CSS to change the color of the answers upon clicking them. I would like to present the right and wrong answers up front, rather than direct...
60
by: Julie | last post by:
What is the *fastest* way in .NET to search large on-disk text files (100+ MB) for a given string. The files are unindexed and unsorted, and for the purposes of my immediate requirements, can't...
4
by: drew197 | last post by:
I am a newbie. I am editing someone elses code to make it compatible with Firefox and Safari. In IE, when you click on the proper link, a block of text is shown in a nice paragraph form. But, in...
1
by: sck10 | last post by:
Hello, I am inserting the values for radio buttons on a form into a database. There are 25 questions with 4 possible answers (see below). Is it possible to pragmatically build the radio button...
3
by: o.o.Pb.o.o | last post by:
The title is pretty vague, I couldn't agree on how to word my inquiry correctly, but I can explain. I'm writing a simple wiki script that is contained in one HTML file (yes, it's been done before)....
3
by: vtashore | last post by:
I downloaded Steve Leban's RTF2 control and it works as advertised. Good news! After reading reference material on the RTF standard codes, I have been able to write update queries to universally...
16
by: Neil | last post by:
I posted a few days ago that it seems to me that the Access 2007 rich text feature does not support: a) full text justification; b) programmatic manipulation. I was hoping that someone might...
6
by: portCo | last post by:
Hello there, I am creating a vb application which is some like like a questionare. Application read a text file which contains many questions and display one question and the input is needed...
11
by: Mike Harrison | last post by:
Hi, I have some simple HTML like this: <div id="container" style="width:100%;"> <input type="text" <input type="button" style="float:right;" value="Click here..."> </div> I want the button...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.