Skip to main content

TdxBarManager.AlwaysSaveText Property

Determines whether the text that has been typed in an editor is saved when it loses focus.

Declaration

property AlwaysSaveText: Boolean read; write; default False;

Property Value

Type Default
Boolean False

Remarks

The ExpressBars Suite allows you to display editor controls within its bars – controls derived from the TdxBarWindowItem class. For instance, these are the TdxBarEdit and TdxBarCombo controls. By default, if text is entered in these editors you will then have to press the ENTER key or SHIFT+TAB (or the TAB key if a toolbar contains other controls that can accept focus) to save the text. Otherwise all changes are lost when the editor loses focus. This behavior can be changed by setting the AlwaysSaveText property to True. In this instance, the entered text is saved automatically without the need to press any additional keys.

The default value of the AlwaysSaveText property is False.

See Also