COMBOBOX VS DATAGRIDVIEW - resizing and positioning!

kdee
04-05-2006, 07:48 AM
Hi!

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.

But...

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.

IUnknown
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 (http://msdn.microsoft.com/library/) using the keywords Control.Left and Control.Location.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum