Android Question B4XPreferencesDialog and ScrollToItemWithError

Alessandro71

Well-Known Member
Licensed User
Longtime User
Is it possible to open the dialog with an element already shaking, with ScrollToItemWithError?
Actually I'm using the following code
B4X:
prefdialog.ScrollToItemWithError(Preferences.OPT_NOTIFYAPP)
Wait For (prefdialog.ShowDialog(Preferences.GetMap, "Ok", "Cancel")) Complete (Result As Int)
If Result = xui.DialogResponse_Positive Then
but it seems to work only the second time the dialog is opened
The first time, no item is shaking
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…