OnDgsElementSize

From Multi Theft Auto: Wiki
Jump to:navigation, search

This event is triggered when the local client resizes a DGS element.

Parameters

No parameters.

Source

The source of this event is the DGS element that was resized.

Example

This example will output the type of DGS element that the client has resized, to the chatbox.

addEventHandler("onDgsElementSize",getRootElement (),function()
	outputChatBox("You have resized a "..getElementType(source)..".",255,255,0)
end)

See Also

DGS events

  • onDgsArrowListValueChange
  • onDgsBlur
  • onDgsCheckBoxChange
  • onDgsComboBoxStateChange
  • onDgsComboBoxSelect
  • onDgsCreate
  • onDgsDestroy
  • onDgsEditPreSwitch
  • onDgsEditSwitched
  • onDgsEditAccepted
  • onDgsElementRender
  • onDgsElementMove
  • onDgsElementSize
  • onDgsFocus
  • onDgsGridListItemDoubleClick
  • onDgsGridListSelect
  • onDgsMouseClick
  • onDgsMouseClickDown
  • onDgsMouseClickUp
  • onDgsMouseDrag
  • onDgsMouseDoubleClick
  • onDgsMouseDown
  • onDgsMouseEnter
  • onDgsMouseLeave
  • onDgsMouseMove
  • onDgsMouseUp
  • onDgsMouseWheel
  • onDgsRadioButtonChange
  • onDgsPositionChange
  • onDgsPreRender
  • onDgsRender
  • onDgsElementScroll
  • onDgsSizeChange
  • onDgsTabPanelTabSelect
  • onDgsTabSelect
  • onDgsTextChange
  • onDgsWindowClose

Plugin

Media

  • onDgsMediaPlay
  • onDgsMediaPause
  • onDgsMediaStop
  • onDgsMediaDurationGet
  • onDgsMediaTimeUpdate
  • onDgsMediaBrowserReturn

Color Picker

  • onDgsColorPickerChange
  • onDgsColorPickerComponentSelectorChange
Retrieved from "https://wiki.multitheftauto.com/index.php?title=OnDgsElementSize&oldid=64200"
Category:
  • Client events

Navigation menu

Views

  • Page
  • Discussion
  • View source
  • History

Personal tools

  • Create account
  • Log in

Navigation

  • Home
  • How you can help
  • Recent changes
  • Random page

reference

  • Client Functions
  • Client Events
  • Server Functions
  • Server Events
  • Shared Functions
  • Useful Functions
  • MTA Classes
  • MTA Elements
  • Element Tree

 

Tools

  • What links here
  • Related changes
  • Special pages
  • Printable version
  • Permanent link
  • Page information
GNU Free Documentation License 1.2
Powered by MediaWiki
  • This page was last edited on 8 September 2019, at 14:45.
  • Content is available under GNU Free Documentation License 1.2 unless otherwise noted.
  • Privacy policy
  • About Multi Theft Auto: Wiki
  • Disclaimers