DgsMemoGetCaretStyle

From Multi Theft Auto: Wiki

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

Example(0):

This is Text|

Example(1):

This is Text_

Syntax

int dgsMemoGetCaretStyle( element dgsElement )

Required Arguments

  • dgsElement: The dgs memo which you want to get caret style from.

Returns

This function returns an integer indicates which kind of caret style, false otherwise.

Example

DGS = exports.dgs
memo = DGS:dgsCreateMemo(200,200,300,300,"text",false)
caretStyle = DGS:dgsMemoGetCaretStyle(memo)
outputChatBox(caretStyle)

See Also

Multi Language Supports

Animation

3D Interface

3D Text

Arrow List

Browser

Button

Check Box

Combo Box

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