Navigation: Ultimate Suite for PowerBuilder Help > PowerDock > Functions >

of_getdocksize

Send comments on this topic.

 

Description:

Returns the size of the dock panel passed in.

Syntax:

of_getdocksize (long al_position)

Argument

Description

al_position

A numeric value representing the dock panel you want to get the size for: TOP, BOTTOM, LEFT or RIGHT.

TOP, BOTTOM, LEFT and RIGHT are constants declared in the PowerDock control.

Return Value:

Returns the size of the panel. TOP and BOTTOM panels return a height value. LEFT and RIGHT panels return a width value.

Usage:


Copyright © 2021 Werysoft Inc.