Applies to



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.


In a painter

To specify the X coordinate of the toolbar:

  • 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