ADAdministrator Syncfusion Team July 10, 2003 05:32 AM
Here is code that gives you the rectangle around the current cell in both grid coordinates and screen coordinates. Is this what you need?
Dim cc As GridCurrentCell = Me.GridControl1.CurrentCell
Dim rect As Rectangle = Me.GridControl1.RangeInfoToRectangle(GridRangeInfo.Cell(cc.RowIndex, cc.ColIndex))
rect = Me.GridControl1.RectangleToScreen(rect)
PEPeterJuly 10, 2003 10:26 AM
Is there a quick way to align the popupcontrolcontainer around the rectangle without adding a parentcontrol?
RPRamesh Praveen Syncfusion Team July 10, 2003 03:22 PM
No there is no easy way to do it. Someone has to implement the IPopupParent interface (and become the PopupControlContainer's PopupParent) and implement the GetLocationForPopupAlignment method.
A good sample is at: