Library Vcl NextSuite 6 NextInspector6 Articles How to

How to

How to modify just added node after reading control properties?

After ReadProperties method is called, OnPropertyNodeAdded event can be used for fine adjustments of newly added node.

Add another button inside Inlace Editor?

For this purpose use OnEditEnter event. This event occurs as soon edit starts. It provide handy parameters such as Node being edited and reference to the Inplace Editor itself.

procedure TForm1.NextInspector61EditEnter(Sender: TObject; Node: TNxInspectorNode6;
  InplaceEdit: INxInplaceEdit);
var
  Button: TNxExecuteButton6;
begin
  Button := TNxExecuteButton6.Create(InplaceEdit as TWinControl);
  Button.Parent := InplaceEdit as TWinControl;
  Button.Align := alRight;
end;

You are not limited to NextSuite controls, and you can place other visual controls inside editor.

Sign in