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

of_allowpanelstoclose

Send comments on this topic.

 

Description:

A global switch used to determine if dock panels can be closed by the user. This overrides the ab_canclose parameter passed into the of_adddockitem function.

Syntax:

of_allowpanelstoclose (boolean ab_switch)

Argument

Description

ab_switch 

Pass TRUE to allow users to close dock panels, FALSE to prevent them from moving dock panels.

Return Value:

Always returns 1.

Usage:

By default users will be able to close dock panels.


Copyright © 2021 Werysoft Inc.