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

Locked Property Changes of Combobox in Visual Basic .NET???

P: n/a
In Visual Basic 6.0, the Locked property of a ComboBox control determined
whether the text-box portion of the control could be edited. In Visual Basic
..NET, the Locked property prevents a control from being moved at design
time. There is no direct equivalent for the Visual Basic 6.0 Locked
property.

What to do next

Change the DropDownStyle property of the ComboBox control to DropDownList.
Note In Visual Basic 6.0, setting the Locked property to true also
prevented the selection from being changed. You can duplicate this behavior
by canceling the selection in the MouseDown event.

Would anybody please tell me how to code it? thanks a lot.

jo*********@hotmail.com
Jul 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.