OnDgsGridListHover
Jump to navigation
Jump to search
This event is triggered each time the cursor changes hovering item on grid list
Parameters
- CurrentItem: The value of current row that the cursor is hovering on.
- CurrentItemColumn: The value of current column that the cursor is hovering on.
- PreviousItem: The value of previous row that the cursor was hovering on.
- PreviousItemColumn: The value of previous column that the cursor was hovering on.
Source
The source of this event is the DGS grid list whose item hovering has just been changed.
Example
DGS = exports.dgs local list = DGS:dgsCreateGridList (346, 163, 433, 403, false ) --Create the grid list element local column = DGS:dgsGridListAddColumn( list, "test", 0.5 ) --Create a column in the list for i=1,10 do local row = DGS:dgsGridListAddRow ( list ) DGS:dgsGridListSetItemText ( list, row, column, tostring(i) ) end addEventHandler("dnDgsGridListHover", list, function ( current, currentcolumn, previous, previouscolumn ) outputChatBox("The hovering item of list has been changed. ( Current: "..current.."; Previous: "..previous.." )") 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