Library Vcl NextSuite 6 NextInspector6 Reference Classes TNxInspectorNode6 AllowEmpty


Specifies if value from InplaceEdit can be assigned to node if is same as EmptyValue property.

property AllowEmpty: Boolean read FAllowEmpty write FAllowEmpty default True;

This property can be used for example to prevent user for leaving blank value after editing a node.

Internal code used for checking if value can be assigned is similar to this:

CanAssignValue := EditingNode.AllowEmpty or (InplaceEdit.Text <> EditingNode.EmptyValue);

Sign in