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!

combo box

Status
Not open for further replies.

perto

IS-IT--Management
Sep 21, 2000
10
0
0
BE
Hello all,

I'm quit a rooky in delphi and having a problem with the following.
I'm using a combo box of about width 40 on the screen but when I click the drop down the size of the popup area should be greather then 40 so I can visible see more information of the articles I must select. Hope that everybody understands my English and the problem :)

 
Try this:
SendMessage(ComboBox1.Handle,CB_SETDROPPEDWIDTH, NewWidth,0)

note that the function SendMessage is declared in module Windows so you have to include it in uses section of your module. NewWidth is type of integer.

bye
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top