FCMCtrlDataList

Summary of Modifications

  • Setters that accept FCString will also accept a Lua string or number.
  • Added methods to allow handlers for the DataListCheck and DataListSelect events be set directly on the control.

Functions

AddColumn

fcmctrldatalist.AddColumn(self, title, columnwidth)

View source

[Fluid] [Override]

Override Changes:

  • Accepts Lua string or number in addition to FCString.
Input Type Description
self FCMCtrlDataList
title `FCString string
columnwidth number

SetColumnTitle

fcmctrldatalist.SetColumnTitle(self, columnindex, title)

View source

[Fluid] [Override]

Override Changes:

  • Accepts Lua string or number in addition to FCString.
Input Type Description
self FCMCtrlDataList
columnindex number
title `FCString string

AddHandleCheck

fcmctrldatalist.AddHandleCheck(self, callback)

View source

[Fluid]

Adds a handler for DataListCheck events.

Input Type Description
self FCMCtrlDataList
callback function See FCCustomLuaWindow.HandleDataListCheck in the PDK for callback signature.

RemoveHandleCheck

fcmctrldatalist.RemoveHandleCheck(self, callback)

View source

[Fluid]

Removes a handler added with AddHandleCheck.

Input Type Description
self FCMCtrlDataList
callback function

AddHandleSelect

fcmctrldatalist.AddHandleSelect(self, callback)

View source

[Fluid]

Adds a handler for DataListSelect events.

Input Type Description
self FCMCtrlDataList
callback function See FCCustomLuaWindow.HandleDataListSelect in the PDK for callback signature.

RemoveHandleSelect

fcmctrldatalist.RemoveHandleSelect(self, callback)

View source

[Fluid]

Removes a handler added with AddHandleSelect.

Input Type Description
self FCMCtrlDataList
callback function