By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,377 Members | 3,038 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,377 IT Pros & Developers. It's quick & easy.

Read Only Text Boxes

P: 14
A quick question, is there a way to make a text box/combo box read only without disabling it
(as in:)

Expand|Select|Wrap|Line Numbers
  1. TextBox.enabled = false
  2. ComboBox.enabled = false
  3.  
I dont want to do it that way because it greys out the text box

(using VB 2008 express)
May 3 '08 #1
Share this Question
Share on Google+
2 Replies


daniel aristidou
100+
P: 491
A quick question, is there a way to make a text box/combo box read only without disabling it
(as in:)

Expand|Select|Wrap|Line Numbers
  1. TextBox.enabled = false
  2. ComboBox.enabled = false
  3.  
I dont want to do it that way because it greys out the text box
K...
Textbox.locked = true
etc

(using VB 2008 express)
nice
May 3 '08 #2

P: 14
ah, ha, seems so simple

cheers


P.S. Vb 2008, is nice
May 4 '08 #3

Post your reply

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