I'm using the new B4X XUIView library.
I created an InputDialog with B4XInputDialog, but I do not understand how to start the window with a preset initial value.
I did it but it does not work:
How should i do?
I created an InputDialog with B4XInputDialog, but I do not understand how to start the window with a preset initial value.
I did it but it does not work:
B4X:
InputTemplate.Initialize
InputTemplate.lblTitle.Text = "New Number"
InputTemplate.RegexPattern="\d+"
InputTemplate.Text=100
'InputTemplate.TextField1.Text=Num+1
Wait For (Dialog.ShowTemplate(InputTemplate, "OK", "", "CANCEL")) Complete (Result As Int)
How should i do?