DgsEditSetUnderlined

From Multi Theft Auto: Wiki

This function sets underline to edit text.

Syntax

bool dgsEditSetUnderlined( element edit, bool state )

Required Arguments

  • edit: A dgs edit you wish to set under line.
  • state: A boolean indicates whether to enable under line or not.

Return

Returns true if successfully, false otherwise.

Example

DGS = exports.dgs
edit = DGS:dgsCreateEdit(100,100,50,50, "DGS is a very bad dxlib")
DGS:dgsEditSetUnderlined(edit, true)

See Also

Multi Language Supports

Animation

3D Interface

3D Text

Browser

Button

Check Box

Combo Box

Custom Renderer

Edit

Detect Area

Grid List

Image

Memo

Label

Progress Bar

Radio Button

Scroll Bar

Scroll Pane

Selector

Switch Button

Tab Panel

Window

Plugin

Blur Box

Color Picker

Canvas

Effect 3D

Media Browser

Mask

Nine Slice

Object Preview Supports

QRCode

Remote Image

Rounded Rectangle