cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Voltes
Resolver I
Resolver I

Using form inside container

Hi all,

 

How to use Form inside a container ? I found it when using form and while the screen is change to smaller, the control inside the form not wrap properly and if the height is smaller than the container, it has no vertical scroll to identify in this form there are other controls below it.

 

Something like this :

Voltes_0-1627149746426.png

this is my app when I hit play, with maximize screen, but when I make it smaller, will become like below :

Voltes_1-1627149883856.png

The 3rd control (Description) truncated, and the 4th warp / moved to next line, but there is actually no scroll in the right of the screen. If I use mouse to scroll down, then the combo box of Company shows as with other control above it move up.

 

The form setting it self I put as below:

Width = Parent.Width

Layoutminwidth = Parent.Width

 

And I did put Columns to be 4, should I have formula saying if the screen became small the column should be 2 ? but still the how to have the scroll ?

 

For the Height of this Form, I have a formula to make it small with enough of 1 line. This is set in its Height and LayoutMinHeight property. I guess that's why as it is shown only the label "company" over there with no text input because it is over the Height, but then again, it should show us scroll to indicate that, right ?

 

Kindly advice,

 

Thanks.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-jefferni
Community Support
Community Support

Hi @Voltes ,
 
Firstly, the width and height of the form cannot exceed the width and height of the container.
In addition, Please do not set the width and height of the controls in the form to dynamic values (Parent.Width...).
Static value:
vjefferni_0-1627269543455.png
vjefferni_1-1627269543451.png
Dynamic Value:
vjefferni_2-1627269543452.png
vjefferni_3-1627269543453.png

 

Finally, when changing the width and height of the screen or manually modifying the width and height of the form, the width and height of the form will sometimes automatically change from a dynamic value to a static value (for example: parent.width -> 1366).
So, I suggest you use a button to create some variables to save their width and height.
vjefferni_4-1627269543454.png
vjefferni_5-1627269543454.png

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

2 REPLIES 2
StalinPonnusamy
Community Champion
Community Champion

Hi @Voltes

 

Can you verify Horizontal and Vertical Overflow settings? Scroll or Hide?

v-jefferni
Community Support
Community Support

Hi @Voltes ,
 
Firstly, the width and height of the form cannot exceed the width and height of the container.
In addition, Please do not set the width and height of the controls in the form to dynamic values (Parent.Width...).
Static value:
vjefferni_0-1627269543455.png
vjefferni_1-1627269543451.png
Dynamic Value:
vjefferni_2-1627269543452.png
vjefferni_3-1627269543453.png

 

Finally, when changing the width and height of the screen or manually modifying the width and height of the form, the width and height of the form will sometimes automatically change from a dynamic value to a static value (for example: parent.width -> 1366).
So, I suggest you use a button to create some variables to save their width and height.
vjefferni_4-1627269543454.png
vjefferni_5-1627269543454.png

 

Hope this helps.

 

Best regards,

Community Support Team _ Jeffer Ni
If this post helps, then please consider Accept it as the solution to help the other members find it.

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,231)