How to use it
Create Views
Add a Container Control to your Contents (Insert > Container Control)
Set Name to MyView and Super to ViewController
Insert
Open
-Event Handler (Insert > Event Handler...) and initialize MyView:
Drag and Drop some Controls you want to MyView
Drag and Drop a DisclosureTriangle and add this Code to his
Action
-Event:
Create Stack
Add a Container Control to your Contents (Insert > Container Control)
Set Name to MyStackView and Super to StackController
Drag and Drop all Views (you created in step before) into MyStackView
Insert
Open
-Event Handler (Insert > Event-Handler...) and initialize MyStackView:
Create Scroll Container
Add a Container Control to your Contents (Insert > Container Control)
Set Name to MyScrollView
Set Super to ScrollController
Drag and Drop a ScrollBar into MyScrollView
Drag and Drop MyStackView into MyScrollView (you don't need to set the position for your controls)
Insert
Open
-Event Handler (Insert > Event Handler...) and initialize MyScrollView:
Use it within your App
Drag and Drop MyScrollView into your Window
Press Run or Compile
Finished
Last updated