Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

WorkSpaceY – PB Docs 125 – PowerBuilder Library

WorkSpaceY – PB Docs 125

WorkSpaceY PowerScript function

Description

Obtains the distance between the top of a window’s
workspace and the top of the screen.

For custom MDI frames, WorkSpaceY obtains
the distance from the top of the frame window and the top of the
workspace area. The top of the frame window is the lower edge of
the menu bar or toolbar, if any.

Controls

Window objects

Syntax

Argument

Description

windowname

The name of the window for which you
want the distance between the top of the workspace area and the
top of the screen

Return Values

Integer. Returns the distance that the
top of the workspace area of windowname is
from the top of the screen (in PowerBuilder units). If an error
occurs, WorkSpaceY returns -1. If windowname is null, WorkSpaceY returns null.

Usage

The workspace area is the area between the sides of the window
(not including the thickness of the frame or the vertical scroll
bar, if any) and the top and bottom of the window (not including
the thickness of the frame or the title bar, menu bar, or horizontal
scroll bar, if any).

Examples

This example returns the distance from the top of
the screen to the top of the workspace area in the w_employee window:

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x