BBjWindow::setScribble
Description
In BBj 11.00 and higher, this method toggles scribble mode on the window (see SCRIBBLE Mnemonic).
Syntax
Return Value |
Method |
void |
setScribble(boolean scribble) |
Parameters
Variable |
Description |
|
scribble |
Specifies whether scribble mode is enabled: |
|
|
0= |
Disable scribble mode. |
|
1= |
Enable scribble mode. |
Return Value
None.
Remarks
When scribble mode is enabled, the draw panel intercepts the relevant mouse or touch events and draws lines using the current PENWIDTH, PENCOLOR, PATTERN, and DRAWMODE settings. This mode is typically used to facilitate signature capture and similar features. Caveat: The server knows nothing about lines drawn directly on the client, so they are discarded if the draw panel is reset from the server with the REDRAW command.
Example
|
See Also
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.