DgsMemoSetWordWarpState

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

This function sets the word warp state of dgs memo

Syntax

bool dgsMemoSetWordWarpState( element memo, integer/bool state )

Required Arguments

DGS Memo Word Warp
  • memo: The dgs-dxmemo.
  • state: The word warp state, vaild state are as follows:
    • false: Non-wordwarp
    • 1: Split via single character ( This will break a word into 2 parts )
    • 2: Split via single character

Returns

Returns true if succeed, false otherwise.

Example

DGS = exports.dgs 

memo = DGS:dgsCreateMemo(0.29, 0.30, 0.44, 0.04, "", true)
DGS:dgsMemoSetWordWarpState(memo,1)

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