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

Syntax 5: For windows and progress bars – PB Docs 2021 – PowerBuilder Library

Syntax 5: For windows and progress bars – PB Docs 2021

Syntax 5: For windows and progress bars

Description

Occurs when the user clicks in an unoccupied area of the window or
progress bar (any area with no visible, enabled object).

Event ID

Event ID

Objects

pbm_lbuttonclk

Window

pbm_lbuttondwn

HProgressBar, VProgressBar

Arguments

Argument

Description

flags

UnsignedLong by value (the modifier keys and mouse
buttons that are pressed).

Values
are:

  • 1 — Left mouse button

  • 2 — Right mouse button (windows only)

  • 4 — Shift key

  • 8 — Ctrl key

  • 16 — Middle mouse button (windows only)

In the Clicked event for windows, the
left mouse button is being released, so 1 is not summed in the
value of flags.

For an explanation of flags, see
Syntax 2 of MouseMove.

xpos

Integer by value (the distance of the pointer from
the left edge of the window workspace or control in
pixels).

ypos

Integer by value (the distance of the pointer from
the top of the window’s workspace or control in
pixels).

Return Values

Long.

Return code choices (specify in a RETURN statement):

0 — Continue processing

Usage

The Clicked event occurs when the user presses the mouse button
down in progress bars and when the user releases the mouse button in
windows.

If the user clicks on a control or menu in a window, that object
(rather than the window) gets a Clicked event. No Clicked event occurs
when the user clicks the window’s title bar.

When the user clicks on a window, the window’s MouseDown and
MouseUp events also occur.

When the user clicks on a visible disabled control or an invisible
enabled control, the window gets a Clicked event.

Examples

If the user clicks in the upper left corner of the window, this
code sets focus to the button cb_clear:

See also

DoubleClicked

MouseDown

MouseMove

MouseUp

RButtonDown


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