T
Tech
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.
(e-mail address removed)
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.
(e-mail address removed)