DgsEditGetCaretStyle

From Multi Theft Auto: Wiki

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

Example(0):

This is Text|

Example(1):

This is Text_

Syntax

int dgsEditGetCaretStyle( element dgsElement )

Required Arguments

  • dgsElement: The dgs edit 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
edit = DGS:dgsCreateEdit(200,200,300,100,"text",false)
caretStyle = DGS:dgsEditGetCaretStyle(edit)
outputChatBox(caretStyle)

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