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

Arrow List

Browser

Button

Check Box

Combo Box

Custom Renderer

Edit

Ellipse Detect Area

Detect Area

Grid List

Image

Memo

Label

Progress Bar

Radio Button

Scroll Bar

Scroll Pane

Switch Button

Tab Panel

Window

Plugin

Media Browser

Rounded Rectangle

Color Picker

Blur Box

Effect 3D

Nine Slice

Object Preview

QRCode

mask