DgsStopMoving

From Multi Theft Auto: Wiki

This function allow us to stop the position changing of dgs element.

Syntax

bool dgsStopMoving ( element dgsElement )

Required Arguments

  • dgsElement: The DGS element to stop.

Returns

Returns true if succeed, false otherwise.

Example

DGS = exports.dgs

parent = DGS:dgsCreateWindow(200,100,400,400,"DGS Parent Window",false)	--Create a window
DGS:dgsMoveTo(parent,400,200,false,false,"OutQuad",2000)  --Set Animation
setTimer(function()
	dgsStopMoving ( parent )
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