DgsMemoSetCaretStyle

From Multi Theft Auto: Wiki

This function is to set the caret style of dgs memo ( 0 is "|"; 1 is "_" ).

Example(0):

This is Text|

Example(1):

This is Text_

Syntax

bool dgsMemoSetCaretStyle( element dgsElement, int style )

Required Arguments

  • dgsElement: The dgs memo which you want to set.
  • style The style of the caret.

Returns

This function returns true if succeed, false otherwise.

Example

DGS = exports.dgs
memo = DGS:dgsCreatMemo(200,200,300,300,"text",false)
DGS:dgsMemoSetCaretStyle(memo,1)

See Also

Multi Language Supports

Animation

3D Interface

3D Text

Browser

Button

Check Box

Combo Box

Custom Renderer

Edit

Detect Area

Grid List

Image

Memo

Label

Progress Bar

Radio Button

Scroll Bar

Scroll Pane

Selector

Switch Button

Tab Panel

Window

Plugin

Blur Box

Color Picker

Canvas

Effect 3D

Media Browser

Mask

Nine Slice

Object Preview Supports

Paste Handler

QRCode

Remote Image

Rounded Rectangle