Hi
i am using ultraToolbarsManagerMain to open form in Tab at run Time.when i click on
ColumnChooser (on Grid's column chooser button)then column choser is appear.how can i set the location of it.
i want that it must be open near the Grid's column chosser button.
i am trying to use
private
e)
{
e.Dialog.ColumnChooserControl.Location =
(ultraGrid.Location.X,ultraGrid.Location.Y);
}
but it is not work.may be it is needed to add also ultraToolbarsManagerMain height .how can i get the X and Y position of
ToolbarsManagerMain .
Please more Explain it.take Some Example.
Thanks.
I'm not sure that I followed this correctly but I think you want to set e.Dialog.Location, not e.Dialog.ColumnChooserControl.Location. Furthermore, I believe you would have convert the point using the PointToScreen method (of the form on which the UltraGrid resides) so the point you pass to the ColumnChooserDialog is in screen coordinates, not client coordinates.