Combo Box - Remove Drop Down Arrow

Geezer

Registered User.
Local time
Tomorrow, 08:43
Joined
Jul 14, 2008
Messages
62
Wondering what's the best way of "removing" the drop down arrow from a combo box.

Ideally I'd like a control to be a text box (or act like one) equivalent when the records are locked for editing. If the user "unlocks" the records for editing I'd like the control to change to a combo box with a selection of records to choose from.

Any experience with a similar problem? Suggestions appreciated.

Thanks,

Gareth
 
You could have a TextBox and ComboBox in the same location on your form and set the Visibility as needed.
 
you can just have a boolean locklag, and set the combobox as follows

combobox.locked = lockflag

(it may need you to set the locked and enabled properties to get EXACTLY the effect you want)

that should work, i think
 
Thanks RG and Dave,

RG, your idea is what I had in mind initially. I'll give both a try and see which works best.

Thanks again,

Gareth
 
I've used it before. You just need to be on a different control when you do it.
 

Users who are viewing this thread

Back
Top Bottom