Mashiane Expert Licensed User Longtime User Jan 19, 2021 #1 Ola How can i request focus to a SwiftButton? Thanks
M Mahares Expert Licensed User Longtime User Jan 19, 2021 #2 Mashiane said: How can i request focus to a SwiftButton? Click to expand... Bonjour Mashiane: Did you try: B4X: Swift1.mBase.RequestFocus Upvote 0
Mashiane said: How can i request focus to a SwiftButton? Click to expand... Bonjour Mashiane: Did you try: B4X: Swift1.mBase.RequestFocus
Erel B4X founder Staff member Licensed User Longtime User Jan 19, 2021 #3 What do you mean with focus? Focus is only relevant for keyboard interaction. Upvote 0
Mashiane Expert Licensed User Longtime User Jan 19, 2021 #4 I want when an Enter is pressed on a text box, the focus is moved to the swiftbutton. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 20, 2021 #5 What does focus means? The keyboard will be hidden once the EditText is not focused. Upvote 0
Mashiane Expert Licensed User Longtime User Jan 20, 2021 #6 Erel said: What does focus means? Click to expand... For example, I am using this to move to the next SD text box in line.. B4X: Private Sub txtNextOfKin_EnterPressed txtDeviceID.NativeObject.RequestFocus End Sub So im wondering if its possible on the last SD textbox I can do similar but to focus on the SwiftButton. Upvote 0
Erel said: What does focus means? Click to expand... For example, I am using this to move to the next SD text box in line.. B4X: Private Sub txtNextOfKin_EnterPressed txtDeviceID.NativeObject.RequestFocus End Sub So im wondering if its possible on the last SD textbox I can do similar but to focus on the SwiftButton.