IFormControl.BeginOperation

Syntax

BeginOperation(

Value: String;

[Layout: OperationTextLayout = 1;]

[External: Boolean = False]);

Parameters

Value. The text that will be displayed in the status bar.

Layout. Optional parameter that determines process timer position relative to text.

External. The parameter that determines status bar position. False is passed by default, the status bar is displayed at the bottom of the form. If True is passed, the status bar is displayed outside the form and it is bound to the bottom edge of the form.

NOTE. If the form is opened in the full screen mode, the status bar is displayed at the bottom of the form. The value of the External parameter is ignored.

Description

The BeginOperation method activates the status bar, which displays the text of the Value parameter, timer and animated process indicator.

Comments

The status bar is active till execution of the EndOperation method.

NOTE. Due to constraints on forms initialization, this method is unavailable if the following combination of values is set for the form: BorderStyle = FormBorderStyle.None; and ShowOnTaskbar = False.

See also:

IFormControl | IFormControl.EndOperation | IFormControl.SetOperationText