COMBOBOX VS DATAGRIDVIEW - resizing and positioning!

04-05-2006, 07:48 AM

I have both combo boxes and datagridview on the same form. Combos are not inside the datagrid. They are outside On the top of datagrid aligned in a horizontal line.

Each combo is aligned with its own column from datagridview.


When I resize (to the right) let's say column 3 the combo which is positioned with column 4 doesn't move right as it should.

I found out how to resize a single combo if a single column resizes, but I can't find out how a combo can be repositioned when some column resizes.

If anyone knows the solution or a tutorial on this issue...

Please, let me know.

04-06-2006, 10:51 AM
See if Left property will work for you. There's also Location. Both can be found in the Top SecretProgrammer's handbook ( using the keywords Control.Left and Control.Location.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum