OnInplaceEditBounds
Occurs moment before bounds of editor control is set and control is shown.property OnInplaceEditBounds: TNxInplaceEditBounds read FOnInplaceEditBounds write FOnInplaceEditBounds;
Set var EditRect parameter in order to adjust size of the component.
Remarks
This events occurs after OnInplaceEditInsert event.
This event is added in version 6.3.0 of NextGrid.
Example
procedure TForm1.NextGrid61InplaceEditBounds(Sender: TObject; ACol, ARow: Integer; Component: TComponent;
var EditRect: TRect);
begin
if (ACol = 1) and (NextGrid61.Columns[ACol].Width < 60) then
begin
EditRect.Right := EditRect.Right + 20;
end;
end;