Previous | Next

GetProgressBar Method

Retrieves the progress bar visibilty, top margin and height.

Long GetProgressBar(
     Integer field


Type: Integer
The type of information to retrieve:

  • 0 - Visibility (Possible values returned: 1 - Visible, 0 - Hidden)
  • 1 - Top margin
  • 2 - Height

Return Value

Type: Long

If the method succeeds, the return value is the progress bar information specified with the field parameter. If the method fails, the return value is -1. To get extended error information, call GetLastError and GetLastErrorDesc methods.