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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grids with combos inserted - odd behaviour 2

Status
Not open for further replies.

jworley

Programmer
Jun 19, 2000
36
GB
Hi,

I have a 6 column grid with one combo inserted into column 3. The combo is populated with several choices that the user can make, a common scenario no doubt.

At runtime, this all works fine except for the fact that the combo looks "squeezed" i.e. the row does not seem tall enough to accomodate it. I can't see any way of changing the row height of the grid, and once the combo is inserted into the grid, the height property becomes unavailable. I have set the grid's fonts to the same type and size as the combo.

Any ideas anyone ?

Jim Worley
jim@aits-uk.net
 

I can't see any way of changing the row height of the grid, and once the combo is inserted into the grid, the height property becomes unavailable.

At design time?

You could set the row height by code in the init of the grid.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Hi,
Maybe it helps once the combobox don't has a border.
-Bart
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top