Hi there,
I want to get the event "HasFocus" or MouseClicked for the searchfield in this template. How do I initialize the dialog to get it?
Right now, im doing this to initialize the search template
The reason is that I open a self made screen textpad or numpad when I i touch the textfields or b4xfloattextfield
I dont know if I made my point here.
Thanks, Alex
I want to get the event "HasFocus" or MouseClicked for the searchfield in this template. How do I initialize the dialog to get it?
Right now, im doing this to initialize the search template
Search template:
B4XSearchTemplate1.SearchField.Hinttext="Buscar"
B4XSearchTemplate1.SetItems(list1.items)
B4XSearchTemplate1.Resize(MainForm.Width*0.5,MainForm.Height*0.7)
Dialog.Title="Usuarios"
B4XSearchTemplate1.SearchField.Update
Wait For (Dialog.ShowTemplate(B4XSearchTemplate1, "", "", "CANCEL")) Complete (Result As Int)
If Result = xui.DialogResponse_Positive Then
txt1.TEXT=B4XSearchTemplate1.SelectedItem
End If
The reason is that I open a self made screen textpad or numpad when I i touch the textfields or b4xfloattextfield
I dont know if I made my point here.
Thanks, Alex