aidymp Well-Known Member Licensed User Longtime User Mar 21, 2019 #1 Hi, just so I am clear using XUI Views if I want to edit any part of this control (eg there is no way to focus any control using a remote control or keyboard) I have to extract the library and edit the code? and then re add it to the zip?? Also the views are all centred, and some devices have the software keyboard centred. so i need the view to popup to the left or right or even top / bottom! Thanks Aidy
Hi, just so I am clear using XUI Views if I want to edit any part of this control (eg there is no way to focus any control using a remote control or keyboard) I have to extract the library and edit the code? and then re add it to the zip?? Also the views are all centred, and some devices have the software keyboard centred. so i need the view to popup to the left or right or even top / bottom! Thanks Aidy
Erel B4X founder Staff member Licensed User Longtime User Mar 21, 2019 #2 It depends. Most of the custom views expose the native views. Which control do you want to modify? Upvote 0
aidymp Well-Known Member Licensed User Longtime User Mar 21, 2019 #3 Erel said: It depends. Most of the custom views expose the native views. Which control do you want to modify? Click to expand... In the example there is something called LongTextTemplate it opens a box that i want to use to display T&C's, it works fine however the focus does not move to the button in this case "OK" I have looked and cant find any reference to LongTextTemplate.RequestFocus Thanks Aidy Upvote 0
Erel said: It depends. Most of the custom views expose the native views. Which control do you want to modify? Click to expand... In the example there is something called LongTextTemplate it opens a box that i want to use to display T&C's, it works fine however the focus does not move to the button in this case "OK" I have looked and cant find any reference to LongTextTemplate.RequestFocus Thanks Aidy
Erel B4X founder Staff member Licensed User Longtime User Mar 22, 2019 #4 Code: Copy Dim rs As ResumableSub = Dialog.ShowTemplate(ColorTemplate, "OK", "", "CANCEL") Dialog.GetButton(xui.DialogResponse_Positive).RequestFocus Wait For (rs) Complete (Result As Int) Upvote 0
Code: Copy Dim rs As ResumableSub = Dialog.ShowTemplate(ColorTemplate, "OK", "", "CANCEL") Dialog.GetButton(xui.DialogResponse_Positive).RequestFocus Wait For (rs) Complete (Result As Int)