Though I am not new, I keep coming back to Livecode, forgetting stuff. This is for Windows initially, but will need it for all major deployment options eventually. My license is Livecode Business with all deployment options.
I am creating a stack with multiple cards. I need each card to have its own size and some require scrollbars.
On one card, I have a tab area and they need scrollbars.
How is this done?
Mike
How to add a scrollbar to a card? Set size of card?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- Posts: 361
- Joined: Wed Apr 27, 2011 2:12 pm
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: How to add a scrollbar to a card? Set size of card?
Hi Mike,
As far i know we can't set the size of a cd, width and height of one card = width and height of stack.
You may use group with scrollbar to display a content larger than your card.
Good luck for next step
Jean-Marc
As far i know we can't set the size of a cd, width and height of one card = width and height of stack.
You may use group with scrollbar to display a content larger than your card.
Good luck for next step
Jean-Marc
https://alternatic.ch
-
- VIP Livecode Opensource Backer
- Posts: 9837
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: How to add a scrollbar to a card? Set size of card?
Cards themselves are the size of the stack, but you can place controls on the card wherever you like up to about 32' by 32', and a scrolling field can have up to a theoretical limit of 4GB (the practical limit in terms of memory will be smaller).
To make the contents of a card scrollable, group the controls and turn on the group's hScrollbar and vScrollbar properties.
To make the contents of a card scrollable, group the controls and turn on the group's hScrollbar and vScrollbar properties.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: How to add a scrollbar to a card? Set size of card?
Mr. Felker,
I'm still waiting for the remaining 400,- US $ from my invoice from october 2018!
I'm still waiting for the remaining 400,- US $ from my invoice from october 2018!
-
- VIP Livecode Opensource Backer
- Posts: 9663
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: How to add a scrollbar to a card? Set size of card?
Hi.
You can set the size of the stack based on the requirements of each card. This is considered awkward in terms of user interface, but is otherwise simple and straightforward. You might consider maintaining, say, the topLeft as the size of the card window changes, just to keep some sort of sanity in your stack.
Craig
You can set the size of the stack based on the requirements of each card. This is considered awkward in terms of user interface, but is otherwise simple and straightforward. You might consider maintaining, say, the topLeft as the size of the card window changes, just to keep some sort of sanity in your stack.
Craig