InkColor – PB Docs 126

InkColor property for PowerScript controls

Controls

InkEdit, InkPicture controls

Description

A drawing attribute that specifies the current ink color.
The default color is black.

Usage

In a painter

proc.png To specify a color for the ink drawn in an InkEdit
or InkPicture control:

  1. Select a color from the InkColor drop-down
    list on the Ink page in the Properties view.

In scripts

The InkColor property takes a long value.

This example sets the InkColor property to the long value
for magenta for the control ip_1:

This example in the Moved event of a trackbar control sets
the InkColor property using the RGB function
and the scroll position selected by the user:


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