Android Question [Solved] B4XSearchTemplate: How to pre-set Text?

Creideiki

Active Member
Licensed User
Longtime User
I'm using the B4XSearchTemplate like this:
B4XSearchTemplate:
    Dim rs As ResumableSub = Dialog.ShowTemplate(SearchTemplate, "", "", "Abbruch")
    SearchTemplate.SearchField.Text = "0815"
    SearchTemplate.SearchField.Update
    Wait For (rs) Complete (Result As Int)

I want the SearchTemplate to already show the pre-selected List (with entries with '0815' in this case).
I tried with and without SearchField.Update, I tried setting the SearchField.Text before and after Dialog.ShowTemplate... to no avail.

Is there a way to achieve this?
 
Top