DgsMemoGetWordWarpState

From Multi Theft Auto: Wiki
Jump to: navigation, search

This function gets the word warp state of dgs memo

Syntax

integer/bool dgsMemoGetWordWarpState( element memo )

Required Arguments

  • memo: The dgs-dxmemo.

Returns

Returns 1 indicates being splited by characters, 2 indicates being splited by words if succeed, false otherwise.

Example

DGS = exports.dgs 

memo = DGS:dgsCreateMemo(0.29, 0.30, 0.44, 0.04, "", true)
outputChatBox(tostring(DGS:dgsMemoGetWordWarpState(memo))) --return false standing for non-wordwarp

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