|
-
May 3rd, 2025, 11:49 AM
#1
MultiFrame control
Wayne has added a MultiFrame control to the twinBASIC programming IDE (from Beta 751).
The MultiFrame control allows for no-code flexible layout of frames when used in conjunction with anchoring and docking.
Wayne says "Highly experimental, but potentially very useful for creating fluid GUIs without any code for doing layouts. It is essentially a stack of frames, either horizontal or vertical, with the control itself controlling the layout of the inner frames. Each frame can be set to a percentage width/height (MultiFrameSize), or zero (default) for "automatic". The frames set to automatic size will split the remaining space of the control equally, so for example, you can have one frame set to 30%, and then two frames set to automatic, and the layout will be 30%-40%-40%. Each frame can of course hold other controls, supporting anchoring and docking within them."
"To use it, drop the MultiFrame control onto a form, set the FramesCount property in the property sheet. To set the layout of the frames, select each frame and set the MultiFrameSize property in the property sheet (e.g. a value of 30 means 30%)."

tB MultiFrame control screencast
Download tbAnchorTest2 sample project
The screencast and download are also available here nolongerset.com/twinbasic-update-april-29-2025/
Last edited by VB6 Programming; May 4th, 2025 at 08:02 AM.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|