The Signature visual control is typically used for the capture of user signatures, but can also be used to capture freehand drawing and typed input.
Signature property |
Datatype |
Description |
---|---|---|
Long |
Specifies the numeric value of the background color, with valid values from -2 to 16,777,215. |
|
Boolean |
Specifies whether the control has a border. Values are:
|
|
BorderStyle (enumeration) |
Specifies the style of the border of the control. Values are:
|
|
Boolean |
Specifies whether PocketBuilder moves the control to the front of the window. |
|
Boolean |
Specifies whether the control is visible or grayed. Values are:
|
|
Integer |
Specifies the height of the control, in PowerBuilder units. |
|
SigPageStyle (enumeration) |
Specifies the style of the control, which can be one of the following values:
|
|
SigPenMode (enumeration) |
Specifies the drawing mode. Values are:
|
|
String |
Specifies the tag value assigned to the control. |
|
Boolean |
Specifies whether red or blue dots in a circular animation display to confirm that the user has performed a tap and hold action with the stylus on the control. This action on a Pocket PC simulates a right mouse-click. The property is enabled by default to conform with typical Pocket PC behavior. |
|
SigViewStyle (enumeration) |
Specifies the type of user input expected. Values are:
|
|
Boolean |
Specifies whether the control is visible. Values are:
|
|
Integer |
Specifies the width of the control, in PowerBuilder units. |
|
SigWrapMode (enumeration) |
Specifies whether text is wrapped to the window or page. Values are:
|
|
Integer |
Specifies the X position (the distance from the left edge of the parent window), in PowerBuilder units. |
|
Integer |
Specifies the Y position (the distance from the top of the parent window), in PowerBuilder units. |
|
Integer |
Specifies the zoom percent for the control. The default value is 100. |
Signature event |
Occurs |
---|---|
Immediately after the control is tapped or clicked |
|
Immediately before the Open event occurs in the window |
|
Immediately after the Close event occurs in the window |
|
Just before the control receives focus (before it is selected and becomes active) |
|
When the control loses focus (becomes inactive) |
|
When the user performs a tap and hold action on the control |
Signature function |
Datatype returned |
Description |
---|---|---|
Integer |
Clears the contents of the control. |
|
Integer |
Retrieves the data in the control as a standard Windows bitmap that is compatible with the Picture control and Windows desktop applications. |
|
Integer |
Retrieves the data in the control in Pocket Word Ink (PWI) format. This format is compatible with Pocket Word. |
|
Integer |
Retrieves the text data in the control as an RTF ANSI text block in a blob or Unicode string. This function does not return graphic signature data. |
|
Integer |
Retrieves the text data in the control as a string. This function does not return graphic signature data. |
|
Integer |
Sets data in Pocket Word Ink (PWI) format in the control. This format is compatible with Pocket Word. |
|
Integer |
Sets text data in the control as an RTF ANSI text block in a blob or Unicode string. This function does not set graphic signature data. |
|
Integer |
Sets the text data in the control as a string. This function does not return graphic signature data. |
|
Integer |
Sets focus to the control. |
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |