DgsCmdClearText

From Multi Theft Auto: Wiki
(Redirected from DgsDxCmdClearText)

This function Clear Text in cmd window .

Syntax

bool dgsCmdClearText ( element cmd )

Required Arguments

  • cmd: The cmd you want to clear.

Example

DGS = exports.dgs
myWindow = DGS:dgsCreateWindow(0.25,0.25,0.5,0.5,"CMD",true)
myCmd = DGS:dgsCreateCmd(0,0,1,1,true,myWindow )
for i=1,10 do
	DGS:outputCmdMessage(myCmd,tostring(i))
end
setTimer(function()
	DGS:dgsCmdClearText(myCmd)
end,1000,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

Color Picker

Blur Box

Effect 3D