OnDgsTabPanelTabSelect: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Client event}} __NOTOC__ This event is triggered each time the item selection of grid list has been changed. ==Parameters== *'''CurrentItemID:''' The id of current select...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{Client event}} | {{Client event}} | ||
__NOTOC__ | __NOTOC__ | ||
This event is triggered each time the | This event is triggered each time the tab selection of the tab panel has been changed. | ||
==Parameters== | ==Parameters== | ||
*'''CurrentItemID:''' The id of current selected tab. | *'''CurrentItemID:''' The id of current selected tab. | ||
*'''PreviousItemID:''' The id of previous selected tab. | *'''PreviousItemID:''' The id of previous selected tab. |
Revision as of 13:04, 3 March 2018
This event is triggered each time the tab selection of the tab panel has been changed.
Parameters
- CurrentItemID: The id of current selected tab.
- PreviousItemID: The id of previous selected tab.
- CurrentItemElement: The dgs-dxtab element of current selected tab.
- PreviousItemElement: The dgs-dxtab element of previous selected tab.
Source
The source of this event is the dgs tab panel whose tab selection has just been changed.
Example
DGS = exports.dgs tabpanel = dgsCreateTabPanel(400,200,400,400,false) tab1 = dgsCreateTab("DGS",tabpanel) tab2 = dgsCreateTab("Tab",tabpanel) gdlt2 = dgsCreateButton(10,10,100,120,"test",false,tab1,tocolor(255,255,255,255)) addEventHandler("onDgsTabPanelTabSelect", tabpanel, function ( new, old ) outputChatBox("The tab of tab panel has been changed. ( Current: "..new.."; Previous: "..old.." )") end)
See Also
DGS events
General
- onDgsBlur
- onDgsCreate
- onDgsCursorTypeChange
- onDgsCursorStateChange
- onDgsDestroy
- onDgsElementRender
- onDgsElementMove
- onDgsElementSize
- onDgsElementEnter
- onDgsElementLeave
- onDgsFocus
- onDgsKey
- onDgsPositionChange
- onDgsPreRender
- onDgsRender
- onDgsElementScroll
- onDgsSizeChange
- onDgsTextChange
- onDgsWindowClose
- onDgsPropertyChange
Check Box
Combo Box
Drag'N Drop
Edit
Grid List
Menu
Selector
Mouse
- onDgsMousePreClick
- onDgsMouseClick
- onDgsMouseClickDown
- onDgsMouseClickUp
- onDgsMouseDrag
- onDgsMouseDoubleClick
- onDgsMouseDoubleClickDown
- onDgsMouseDoubleClickUp
- onDgsMouseDown
- onDgsMouseHover
- onDgsMouseEnter
- onDgsMouseLeave
- onDgsMouseMultiClick
- onDgsMouseMove
- onDgsMouseStay
- onDgsMouseUp
- onDgsMouseWheel
Radio Button
Switch Button
Tab
Animation
Plugin
Media
- onDgsMediaPlay
- onDgsMediaPause
- onDgsMediaStop
- onDgsMediaLoaded
- onDgsMediaTimeUpdate
- onDgsMediaBrowserReturn
Color Picker
QRCode
Remote Image
Client event functions
- triggerLatentServerEvent
- triggerServerEvent
- Shared
- addEvent
- addEventHandler
- cancelEvent
- cancelLatentEvent
- getEventHandlers
- getLatentEventHandles
- getLatentEventStatus
- removeEventHandler
- triggerEvent
- wasEventCancelled