Combo Box - Remove Drop Down Arrow (1 Viewer)

Geezer

Registered User.
Local time
Tomorrow, 01:42
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
 

RuralGuy

AWF VIP
Local time
Today, 07:42
Joined
Jul 2, 2005
Messages
13,825
You could have a TextBox and ComboBox in the same location on your form and set the Visibility as needed.
 

gemma-the-husky

Super Moderator
Staff member
Local time
Today, 14:42
Joined
Sep 12, 2006
Messages
15,755
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
 

Geezer

Registered User.
Local time
Tomorrow, 01:42
Joined
Jul 14, 2008
Messages
62
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
 

RuralGuy

AWF VIP
Local time
Today, 07:42
Joined
Jul 2, 2005
Messages
13,825
I've used it before. You just need to be on a different control when you do it.
 

Users who are viewing this thread

Top Bottom