ToolbarX

Applies to

Windows

Description

The ToolbarX property specifies the X coordinate in PowerBuilder units of the toolbar when it is a floating toolbar. The X coordinate is the distance from the left edge of the window or screen.

Usage


In a painter

StepsTo specify the X coordinate of the toolbar:

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


In scripts

The ToolbarX property takes an integer value.

The following line specifies a distance of approximately 5 pixels from the left edge of the window for a toolbar:

This.ToolbarX = 20