Wish Access to inner panel of scrollview in designer

HotShoe

Well-Known Member
Licensed User
Longtime User
It would make things much easier if I could get access to the inner panel of a scrollview in the designer. As it is, I have to do it all in code so the benefits of the designer can't be used with a layout using a scrollview.

--- Jem
 

barx

Well-Known Member
Licensed User
Longtime User
Just create another layout in the designer and the you add that layout to the scrollview. Sure that's how it works.
 

klaus

Expert
Licensed User
Longtime User
In the Designer you could define a layout where you have a Panel, even heigher than the screen, put all the views onto this Panel and load the layout file into the internal scrollview panel with ScrollView1.Panel.LoadLayout("MyLayout").
To show the lower part of the panel in the Designer set a negative value to the panel's Top property.
Don't forget to set ScrollView1.Panel.Height = LayoutPanel.Height after having loaded the layout.

Best regards.
 

HotShoe

Well-Known Member
Licensed User
Longtime User

I understand how to get around it, that was not the point of the wish. The point is WHY should I have to create another layout to use in a scrollview layout? Oh well.

--- Jem
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…