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

MouseUp – PB Docs 125 – PowerBuilder Library

MouseUp – PB Docs 125

MouseUp event

The MouseUp event has different arguments for different
objects:

Object

See

RichTextEdit control

Syntax 1

Window

Syntax 2

Syntax 1 For RichTextEdit controls

Description

Occurs when the user releases the left mouse button in a RichTextEdit
control.

Event ID

Event ID

Objects

pbm_renlbuttonup

RichTextEdit

Parameters

None

Return Values

Long. Return code choices (specify in
a RETURN statement):

  • 0 Continue
    processing

Usage

A Clicked event also occurs when the mouse button is released.

Examples

The following code in a RichTextEdit control’s
MouseUp event assigns text to the SingleLineEdit sle_1 when
the user releases the left mouse button:

See Also

Syntax 2 For windows

Description

Occurs when the user releases the left mouse button in an
unoccupied area of the window (any area with no visible enabled
object).

Event ID

Event ID

Objects

pbm_lbuttonup

Window

Parameters

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

  • 4 – Shift key

  • 8 – Ctrl key

  • 16 – Middle mouse button

In the MouseUp event, 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’s
workspace in pixels).

ypos

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

Return Values

Long. Return code choices (specify in
a RETURN statement):

  • 0 Continue
    processing

Usage

A Clicked event also occurs when the mouse button is released.

Examples

[Example 1]

This code in the window’s MouseUp event displays
in the SingleLineEdit sle_2 the window
coordinates of the pointer when the button is released as reported
in the xpos and ypos arguments.

[Example 2]

This code in the window’s MouseUp event checks the
value of the flags argument and reports which modifier keys are
pressed in the SingleLineEdit sle_modkey.

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