Jump to content


AndreyDelphi

Member Since 20 Mar 2017
Offline Last Active Mar 23 2017 04:18 PM
-----

Topics I've Started

Event OnEdit & OnChange from NxInspector 4&5

20 March 2017 - 03:02 PM

Hello guys!

I'am user NextSuite.

I'am using this product from 4&5 versions, i using in 5&4 onEdit event for handiling hot editing items.

Example:

Inspector := TNextInspector.Create(nil); // NextSuite 5
Inspector.Parent := Form;
Inspector.Align := alClient;
Inspector.BorderStyle := bsNone;

// Edit and button node
Edit := Inspector.AddChild(TNxButtonItem, 'YourSelf');
Edit.Value := 'Type here';

Inspector.OnEdit := editing;
...
procedure editing(Sender: TObject; Item: TNxPropertyItem);
var 
     Value: String;
begin
     Value := Item.Value;
end;

Now, i'am seen only events:
onEditing, onAfterEdit, and others, onEditing - only works on edit buttons and text nodes.

I want handling all nodes edit.

Thank'you.

* Sorry i'am know only based english language.