Roberto P. Well-Known Member Licensed User Longtime User Dec 6, 2017 #1 I need to add custom controls and buttons in the header and footer. How can I do it? Or can I recreate custom CustomLayoutDialog ? thank you Attachments griglia.png 166.6 KB · Views: 193
I need to add custom controls and buttons in the header and footer. How can I do it? Or can I recreate custom CustomLayoutDialog ? thank you
Erel B4X founder Staff member Licensed User Longtime User Dec 7, 2017 #2 You can set the text of the three buttons to "". This will hide the bar completely and will allow you to create your own bar. Upvote 0
You can set the text of the three buttons to "". This will hide the bar completely and will allow you to create your own bar.
Roberto P. Well-Known Member Licensed User Longtime User Dec 7, 2017 #3 Erel said: You can set the text of the three buttons to "". This will hide the bar completely and will allow you to create your own bar. Click to expand... Hi Erel how do I create and add my bar? Upvote 0
Erel said: You can set the text of the three buttons to "". This will hide the bar completely and will allow you to create your own bar. Click to expand... Hi Erel how do I create and add my bar?
Erel B4X founder Staff member Licensed User Longtime User Dec 7, 2017 #4 As part of the custom layout. Upvote 0
Roberto P. Well-Known Member Licensed User Longtime User Dec 7, 2017 #5 Erel said: As part of the custom layout. Click to expand... I do not understand what you mean Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Dec 7, 2017 #6 Put a panel anchored to the bottom in the layout file you load for the CustomLayoutDialog. Put whichever buttons you like in this panel. Upvote 0
Put a panel anchored to the bottom in the layout file you load for the CustomLayoutDialog. Put whichever buttons you like in this panel.
Roberto P. Well-Known Member Licensed User Longtime User Dec 7, 2017 #7 I have already tried to do it, but it is bad to see because it remains the empty band of the standard buttons. Upvote 0
I have already tried to do it, but it is bad to see because it remains the empty band of the standard buttons.
Erel B4X founder Staff member Licensed User Longtime User Dec 7, 2017 #8 It does remove the bottom bar completely here when I test it. Maybe it depends on the Android version. Upvote 0
It does remove the bottom bar completely here when I test it. Maybe it depends on the Android version.
Roberto P. Well-Known Member Licensed User Longtime User Dec 7, 2017 #9 in the custom bar I also have to add the button to close the dialog. Can you tell me what event do I have to launch to close the dialogue? thank you Upvote 0
in the custom bar I also have to add the button to close the dialog. Can you tell me what event do I have to launch to close the dialogue? thank you
Erel B4X founder Staff member Licensed User Longtime User Dec 7, 2017 #10 Add your own button, handle its click event and call CustomLayoutDialog.CloseButton. Note that you should have started a new thread for this question. Upvote 0
Add your own button, handle its click event and call CustomLayoutDialog.CloseButton. Note that you should have started a new thread for this question.