DgsEditSetTypingSound

From Multi Theft Auto: Wiki

This function applies a typing sound to a dgs edit.

Syntax

bool dgsEditSetTypingSound( element dxEdit, string soundPath )

Required Arguments

  • dxEdit: The dgs-dxedit you want to set.
  • soundPath : A string of the path of the sound ( url is supported ) nil for disabled

Returns

Returns true if succeed, false otherwise.

Example

DGS = exports.dgs 

edit = DGS:dgsCreateEdit(0.29, 0.30, 0.44, 0.04, "", true)
DGS:dgsEditSetTypingSound(edit,"test.wav") --You can add a sound file for test

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