| | |
locking combo box in visual basic 6
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Aug 2007
Posts: 47
Reputation:
Solved Threads: 0
greetings!
I designed simple program with combobox and i want to lock this combobox. I dont want to allow the user to type in this combobox. Only the list item data can be selected and not allowed to type any value..
for example:
Displaying "Gender" using combobox . The item list are "male" and "female" only. I want the user to select only from this option at not allowing them to type or to change the value of this combobox..
anybody have idea or who can help to do this..
thank you in advance
I designed simple program with combobox and i want to lock this combobox. I dont want to allow the user to type in this combobox. Only the list item data can be selected and not allowed to type any value..
for example:
Displaying "Gender" using combobox . The item list are "male" and "female" only. I want the user to select only from this option at not allowing them to type or to change the value of this combobox..
anybody have idea or who can help to do this..
thank you in advance
•
•
Join Date: Jun 2007
Posts: 44
Reputation:
Solved Threads: 3
Hi,
You can do this by setting the Style property to 2 - Dropdown List.
Regards,
Shrinivas
You can do this by setting the Style property to 2 - Dropdown List.
Regards,
Shrinivas
•
•
•
•
greetings!
I designed simple program with combobox and i want to lock this combobox. I dont want to allow the user to type in this combobox. Only the list item data can be selected and not allowed to type any value..
for example:
Displaying "Gender" using combobox . The item list are "male" and "female" only. I want the user to select only from this option at not allowing them to type or to change the value of this combobox..
anybody have idea or who can help to do this..
thank you in advance
![]() |
Similar Threads
- Playing .Wav/MIDI files in a Visual Basic Program (Visual Basic 4 / 5 / 6)
- can not update combo box... (VB.NET)
- Visual Basic coding for excel database - am tearing my hair out! (Visual Basic 4 / 5 / 6)
- VBscript in a Visual Basic Application (Visual Basic 4 / 5 / 6)
- To display selected names in VB 6 (Visual Basic 4 / 5 / 6)
- open a PDF file in visual basic (Visual Basic 4 / 5 / 6)
- Visual Basic Error on Word and Excel 2003 (Windows NT / 2000 / XP)
- Combo Box (C++)
- Visual Basic.net (VB.NET)
Other Threads in the Visual Basic 4 / 5 / 6 Forum
- Previous Thread: Pseudo code into flowchart
- Next Thread: Exe with inline parameters
Views: 3855 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for Visual Basic 4 / 5 / 6
* 6 429 2007 access activex add age append application basic beginner birth bmp c++ calculator cd cells.find click client code college column component connection connectionproblemusingvb6usingoledb copy creat ctrl+f data database datareport delete dissertations dissertationthesis dissertationtopic edit error excel excelmacro file filename form hardware header iamthwee image inboxinvb internetfiledownload keypress label listbox listview liveperson login looping machine microsoft movingranges number objectinsert open oracle password prime program prompt range-objects readfile reading refresh remotesqlserverdatabase report retrieve save search sendbyte sites sort sql sql2008 sqlserver struct subroutine table tags textbox time timer urldownloadtofile vb vb6 vb6.0 vba visual visualbasic visualbasic6 web window windows





