"cursorWidth"

The attribute "cursorWidth" sets the cursor width of a textEdit.

Synopsis

shape.cursorWidth(int cW);

Parameter

Parameter Description
shape Name of the object
cW The width of the cursor in a textEdit.

Description

The attribute "cursorWidth" sets the cursor width of a textEdit (in Pixel).

Example

The following example sets the width of the cursor to 5.

main(bool enter)
{
  int cW = 2;
  this. cursorWidth (cW);
}

Assignment

TextEdit