TiEditCustom.Apply

TiEditCustom

Accepts the current value in the text box, updating the Value property and firing associated events.

procedure Apply();

Description

Use Apply to update the Value property of the component (actual property name will vary depending on the decendents implementation) and fire associated events.

For example, when you type in the edit box, the Value property and OnChange events are not fired until you press the Enter or Return key. This is by design and differs from the standard Windows edit box control.

Note:after calling Apply, the Undo information will be cleared from the component. You will be unable to undo information after it is applied..

Example

Delphi

iComponent.Apply;

C++ Builder

iComponent->Apply();

Contents | Index | Previous | Next