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

PBX_DrawItemStruct structure – PB Docs 2019 – PowerBuilder Library

PBX_DrawItemStruct structure – PB Docs 2019

PBX_DrawItemStruct
structure

Description

The PBX_DrawItemStruct structure contains the properties of an
external visual control that you want to draw using the
PBX_DrawVisualObject function.

Field

Description

x

X coordinate of the visual control relative to its
parent control (for example, the window that contains
it).

y

Y coordinate of the visual control relative to its
parent control.

width

Width of the visual control.

height

Height of the visual control.

objectName

The name of the visual object, for example:
uo_1.

tag

Field to be used to pass any value at the user’s
discretion.

enabled

Whether the visual control is enabled. Possible
values are true and false.

visible

Whether the visual control is visible. Possible
values are true and false. In the development environment,
PowerBuilder does not call the PBX_DrawVisualObject function if
this field is set to false and the Design>Show Invisibles menu
item is not selected.

borderstyle

Border style of the visual control. A value of the
pbborder_style enumerated variable. Possible values
are:

  • 0 — none

  • 1 — shadowbox

  • 2 — box

  • 5 — lowered

  • 6 — raised

backColor

Background color of the visual control. You can
obtain the RGB value of the background color using the Windows API
functions GetRValue, GetGValue, and GetBValue.

See also

PBX_DrawVisualObject


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