Hi,
the ABMaterial demo outlines how to create a custom component from a JavaScript plugin.
Question: How to create a custom component (or better custom control) using standard ABM controls?
Example
Create a MinMaxInput control composed out of 2 ABMInput controls [ABMInput Min][ABMInput Max].
Get the values:
the ABMaterial demo outlines how to create a custom component from a JavaScript plugin.
Question: How to create a custom component (or better custom control) using standard ABM controls?
Example
Create a MinMaxInput control composed out of 2 ABMInput controls [ABMInput Min][ABMInput Max].
B4X:
Dim custMinMaxInput As CustomMinMaxInput
custMinMaxInput.Initialize(page, "custMinMaxInput", "Min", 25, "Max", 75, "bluegrey")
page.Cell(Row,Cell).AddComponent(custMinMaxInput)
B4X:
Dim MinValue as Int = custMinMaxInput.Min
Dim MaxValue as Int = custMinMaxInput.Max