![]() ![]() 1 = Only 1 text line, no wrapping, get's truncated. RowMaxLineCount = 1, -or function returning a number of the maximum text lines within the row. RowFont = "ZoFontWinH4", -or function returning a String of the font to use for the row (optional) RowTemplate = "LAM2_orderlistbox_widget_scrolllist_row", -String defining the XML virtual template control for a row of the listEntries (optional) Make sure to add the handlers OnDragStart and OnReceiveDrag to your virtual row template! Check XML file LAM2_orderlistbox_widget.xml, virtual control "LAM2_OrderListBox_Widget_Scrolllist_Row" as template! RowHeight = function() return db.rowHeightNumber end, -or number for the height of the row of the entries in listEntries. MaxHeight = function() return db.maxHeightNumber end, -or number for the maximum height of this control. MinHeight = function() return db.minHeightNumber end, -or number for the minimum height of this control. IsExtraWide = false, - boolean (optional) Tooltip = "OrderListBox's tooltip text.", - or string id or function returning a string (optional) SetFunc = function(currentSortedListEntries) db.currentSortedListEntries = currentSortedListEntries doStuff() end, GetFunc = function() return db.currentSortedListEntries end, Tooltip = "Tooltip text shown at this entry", - or string id or function returning a string (optional) Text = "Text of this entry", - or string id or function returning a string (optional) Will be used to identify the entry uniquely This will not change if the order changes. UniqueKey = 1, -number of the unique key of this list entry. Value = "Value of the entry", - or number or boolean or function returning the value of this entry ![]() Name = "My OrderListBox", - or string id or function returning a string
0 Comments
Leave a Reply. |