Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
229
How to access the columns of a UltraWinCombo control
posted

Hi ,

I like to set the width of the columns of a UltraCombo. Main reason is to be able to call the PerformAutoResize method.
But I cannot find a way to access the column(s). This code does not work (and looks a little overdone to me)

oCombo.DisplayLayout.Grid.Rows[0].Cells[0].Column.PerformAutoResize();

On this code I get a runtime error telling me the index is outside the bounderies.

Any help is appreciated!

regards,

Erik