[B4X] [XUI] AS Settings
Introducing a new library that allows you to create your own settings page with minimal code. This library comes equipped with automatic saving and loading features, making it incredibly easy to manage your settings. It supports booleans, free text, numbers, comboboxes, action buttons and more...
www.b4x.com
With this property, the user can quickly select one of several options via a combobox. It use the native combo box for each platform.
Example
B4X:
'ComboBox
AS_Settings1.MainPage.AddProperty_ComboBox("Advanced","PropertyName_12","ComboBox Example","",Null,1,Array("Option 1","Option 2","Option 3","Option 4"))
Events
The ValueChanged event is triggered when the user has selected an item.
B4X:
Private Sub AS_Settings1_ValueChanged(Property As AS_Settings_Property, Value As Object)
'Log("ValueChanged " & Property.PropertyName & ": " & Value)
Select Property.PropertyName
Case "PropertyName_12"
Log(Value)
End Select
End Sub