DisplayMode
Specifies which part of individual item will be displayed.
pas
property DisplayMode: TNxStringsDisplayMode read FDisplayMode write FDisplayMode default dmDefault;
Item inside TStrings list can be separated in 2 parts (by using NameValueSeparator
) and then only one part can be actually displayed and other kept for other purposes.
Example
NxComboBox61.DisplayMode := dmValueList; NxComboBox61.Items.NameValueSeparator := '|'; NxComboBox61.Items.Add('1|Product 1'); NxComboBox61.Items.Add('2|Product 2'); NxComboBox61.Items.Add('3|Product 3');