Library Vcl NextSuite 6 NextInspector6 Reference Classes TNxInspectorNode6 AllowEmpty

AllowEmpty

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

pas
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:

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

Files

Sign in