|
-
Aug 17th, 2008, 04:21 PM
#1
Thread Starter
Member
[RESOLVED] Questions about textbox and combobox
Hi guys, I have a few questions about both of these controls
1. Is there any way to mask the values being entered into a textbox? I want to use it as a password field.
2. Is there any way to restrict the valid entries in a combobox to the drop down list? I want users to be able to select from the values I have defined in the combobox but I don't want them to be able to enter their own values
-
Aug 17th, 2008, 04:26 PM
#2
Re: Questions about textbox and combobox
1. Change the UseSystemPassChar property to True for the textbox in question
2. Change the DropDownStyle property to DropDownList on your combobox
(sorry if the property names arent 100% correct but you will be able to see which ones I mean when you look through the properties in the designer)
-
Aug 17th, 2008, 08:35 PM
#3
Thread Starter
Member
Re: Questions about textbox and combobox
muchas gracias mate
-
Aug 18th, 2008, 03:34 AM
#4
Re: Questions about textbox and combobox
no problem, dont forget to mark the thread as resolved (use the Thread Tools menu at the top of the page)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|