AddStatusBarField()

Syntax

AddStatusBarField(Width)
Description
Adds a field to the current status bar previously created with CreateStatusBar(). Each new field is created after the previous one.

Parameters

Width The width of the new field in pixels. If set to #PB_Ignore then the field will be resized to fill the remaining free space on the status bar. Multiple fields can have a width of #PB_Ignore, in which case the free space will be divided evenly among these fields.

Return value

None.

Remarks

The following commands can be used to set or change the content of the status bar field:
- StatusBarText()
- StatusBarImage()
- StatusBarProgress()

See CreateStatusBar() for an example.

See Also

StatusBarText(), StatusBarImage(), StatusBarProgress(), CreateStatusBar()

Supported OS

All

StatusBar Index - CreateStatusBar() ->