This blog will be a quick tip on how to add existing controls to a containers in Canvas apps.
In the screenshot below, I have a Vertical container containing 3 buttons and three text input controls outside the container.
I want to move the text input controls inside the container. If I check for options in the Text input control, I don’t have the option to add them to container.
Wondering how to move them inside the container? Well the traditional method of cut and paste comes to the rescue here.
Select the controls that you want to move to the container choose ‘Cut’ from the menu options.
Once done, make sure to select the container and then paste.
And your controls will be moved inside the container.
Let’s explore one more scenario. If you have been working with Power Apps for a long time, you must have used groups. Groups were a great way to tag multiple controls together before the advent of container controls in Power Apps framework.
I have a group containing a label and a button.
Launch the menu options for the group and you have an option ‘Add to container’
The moment you do that, it does not add to any existing container. The group is converted to a container and all the controls inside the group are moved to the container.
Hope this helped. You will also like the below posts.
Debajit Dutta
Business Solutions MVP
Discover more from Debajit's Power Apps & Dynamics 365 Blog
Subscribe to get the latest posts sent to your email.