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

of_setdocksize

Send comments on this topic.

 

Description:

Sets the size of the dock panel passed in.

Syntax:

of_setdocksize (long al_position, long al_size)

Argument

Description

al_position

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

al_size

For TOP and BOTTOM panels pass a height value. For LEFT and RIGHT panels pass a width value.

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

Return Value:

Always returns 1.

Usage:


Copyright © 2021 Werysoft Inc.