Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Custom ComboBox properties

Status
Not open for further replies.

TJones8

Technical User
Apr 16, 2002
77
0
0
GB
Hi all
I'm going to cross-post this the VB ActivX Controls forum. Hope i don't get a-flamed.

I'm creating a custom combobox for use in in-house programming projects here at work.
I've been told to do this to create a nice and even uniform effect blah blah blah.
I've already added obigitry auto-completion adn some other bits and bobs.
What i need to know is if there is a way at setting a default font, and (this is the real doosey) if it is possible to 'hide' the drop-down arrow i.e. to make it appear as a simple text box.
And it also needs to not allow 'clicks' on the hidden button.

So basically, if there are no items attached to the combo box it should appear as a text box.

Thx for any input.

TJ

if at first you don't succeed, get a 10lb lump hammer
 
to hide a button:
buttonname.visible=false

font u can select using the properties box...

Known is handfull, Unknown is worldfull
 
But what is the drop-down button of the combo box called??

if at first you don't succeed, get a 10lb lump hammer
 
create one on ur own...
"creating a custom combobox" i thought that is what u meant...

are u using inbuilt vb control?(i guess so but still...)

Known is handfull, Unknown is worldfull
 
Sorry, should have been clearer..
The control I am building inherits the combo box class since i thought it would save a lot of time to just tweak the combo box to my needs...

if at first you don't succeed, get a 10lb lump hammer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top