473,473 Members | 2,039 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Making a text box read only and text in to be copyable

Dheeraj Joshi
1,123 Recognized Expert Top Contributor
I am creating the text boxes during run time I will display the value of it during th run time. It is working fine.

But my text box should be read only but in the same time i must be able to only copy the text in the text box. I don't want to make the text box disabled.

Is this is possible. Any suggestions?

Regards
Dheeraj Joshi
Oct 8 '09 #1
2 3021
tlhintoq
3,525 Recognized Expert Specialist
Setting it to read only, won't stop you from getting its .Text property so you can use it elsewhere.
Oct 8 '09 #2
Dheeraj Joshi
1,123 Recognized Expert Top Contributor
Hey tlhintoq i got the solution yesterday itself.

For displaying the text during runtime i was getting its properties by XML. in XML i gave it as Readonly but i tried to match ReadOnly (Cases matching was wrong).

So i was unable to get the desired feature.

Thanks for your reply.

Regards
Dheeraj Joshi
Oct 9 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Kenneth McDonald | last post by:
I'm working on the 0.8 release of my 'rex' module, and would appreciate feedback, suggestions, and criticism as I work towards finalizing the API and feature sets. rex is a module intended to make...
6
by: D. Alvarado | last post by:
How do I make an input type="text" field read only for pages meant for display on IE 5+ and Netscape 6+? Thanks - Dave
8
by: slawek | last post by:
Hi i have following stylesheet: ..linklist { width: 100%; font-size: 75%; background: #EEEEEE; margin: 5px; height: 300px; overflow: auto;
1
by: vaury | last post by:
I'm having difficulty making a list (both drop down and radio button) read only; I am successful when I attempt to make a text field read only. Any suggestions on what java script I use to...
2
by: Jason Sobell | last post by:
Hi, I'm trying to figure out a sensible way of making a combobox (configured as a dropdown list) behave in a read-only fashion. Setting Enabled=False will grey the text and the background, but I...
21
by: PlainDave | last post by:
Hi, Is there a way to make windows tooltips stay up longer than the default 5 seconds using CSS in a web page? I'd prefer to have it stay visible as long as the mouse is over the "whatever." The...
351
by: CBFalconer | last post by:
We often find hidden, and totally unnecessary, assumptions being made in code. The following leans heavily on one particular example, which happens to be in C. However similar things can (and...
3
by: Chelong | last post by:
hey now i have a problem,for me a c++ beginner.so i need ur help? here i have a text file from the copy of excel data,like this: ...
2
by: =?Utf-8?B?QnJpYW4=?= | last post by:
I have an application that is responsible for retrieving data from a variety of remote sites using all sorts of different protocols. e.g. email, web service, ftp, screen scraping etc. I want to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
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,...
1
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...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.