ToolbarY

Applies to

Windows

Description

The ToolbarY property specifies the Y coordinate in PowerBuilder units of the toolbar when it is a floating toolbar. The Y coordinate is the distance from the top of the window or screen.

Usage


In a painter

StepsTo specify the Y coordinate of the toolbar:

  1. Enter the desired value, in PowerBuilder units, in the ToolbarY field on the Toolbar tab page of the window’s Properties view.


In scripts

The ToolbarY property takes an integer value. The following line specifies a distance of approximately 4 pixels from the top of the window for a toolbar:

This.ToolbarX = 15