Cryptic_ListBox
This enables you to have a dynamic listbox made up of multiple random controls. The rows added are from the default control Cryptic_ListBoxRow, Edit this control to add or remove elements from the list itself.
My Image
Stacks Image 16
Example code
'————————————
' Add blank row
'————————————
me.Addrow ""

'————————————
' Update components of list
'————————————
Cryptic_ListBox_Row(me.PanelList(x)).Cryptic_Label1.text= "caption"
Cryptic_ListBox_Row(me.PanelList(x)).Cryptic_Label1.FontColour=color.blue
Cryptic_ListBox_Row(me.PanelList(x)).Cryptic_TextField1.text= "Editable "+x.totext
if System.Random.InRange(1,2)=2 then
Cryptic_ListBox_Row(me.PanelList(x)).Cryptic_Switch1.ButtonState=true
else
Cryptic_ListBox_Row(me.PanelList(x)).Cryptic_Switch1.ButtonState=false
end if
Cryptic_ListBox_Row(me.PanelList(x)).Cryptic_Sliderbar1.percent=system.Random.InRange(0,100)


Properties
Addrow
Boolean
If you have hundreds of objects loaded, you may find it better to switch this feature on. It will start to display the containers as they are loaded. Please note, do not close the page when objects are being loaded or you will get an exception error.
Listcount
Integer
The amount of items in the list
RemoveAllrows
NA
Removes all the items in the list
Removerow
Integer
Removes all the items passed
Panellist()
Array
Contains the objects you have added to the matrix, they can be directly manipulated here
WheelScroll
Boolean
Enable or disable the ability to scroll the list with a mouse wheel
Render on load
Boolean
If you have hundreds of objects loaded, you may find it better to switch this feature on. It will start to display the containers as they are loaded. Please note, do not close the page when objects are being loaded or you will get an exception error.

Methods
AddContainer
ContainerControl
The container you wish to add to the matrix
ContainerCount
Integer
The quantity of containers added
RemoveAllContainers
NA
Removes all the containers added
RemoveContainers
Integer
Removes a specific container