OnDgsStopAlphaing

From Multi Theft Auto: Wiki
Revision as of 09:58, 6 June 2020 by Thisdp (talk | contribs) (Created page with "{{Client event}} __NOTOC__ This event is triggered when a dgs element stops the aninimation which was started by dgsAlphaTo ==Parameters== none ==Source== The event...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This event is triggered when a dgs element stops the aninimation which was started by dgsAlphaTo

Parameters

none

Source

The source of this event is the dgs element which stopped its animation.

Example

DGS = exports.dgs
window = DGS:dgsCreateWindow(200,100,400,400,"DGS Parent Window",false)	--Create a window
DGS:dgsSetAlpha(window,0)
DGS:dgsAlphaTo(window,1,false,"OutQuad",2000)  --set alpha with animation effect.
addEventHandler("onDgsStopAlphaing", window, function() 
   outputChatBox("Window has stopped changing alpha")
end)

See Also

DGS events

General

Check Box

Combo Box

Drag'N Drop

Edit

Grid List

Menu

Selector

Mouse

Radio Button

Switch Button

Tab

Animation

Plugin

Media

Color Picker

QRCode

Remote Image

Client event functions