Make an entire card scroll?

Kurt Kaufman kkaufman at snet.net
Sat Mar 29 20:59:01 EST 2003


Valetia asked:

* What is the recommended or easiest way to make a group scroll?
* How do you position the portion of the content that cannot be seen 
before
the group is scrolled?


1) Determine the size of stack window needed.

2) Position all objects in visible portion of stack window.

3) Group all objects in single group. (with pointer tool chosen, Menus: 
Edit-->Select All, then Object--> Group Selected).

4) Now when you doubleclick on the card you get the group's Properties 
window.  Under the Group Tab of this window, make sure both the 
horizontal and vertical scrollbars (of the group) are enabled. Close 
the group's Properties window.

5)  (The exact nature of the next step depends on the content of your 
stack). With the Pointer tool still chosen, click on the largest object 
in the stack window (a background graphic, perhaps) and drag it towards 
the upper left corner of the stack window until the object's lower 
right corner (with scrollbars) is visible.  Resize the object (in 
effect resizing the visible portion of the group) until it fits the 
size of the stack window. Doubleclick to get the group's Properties 
window again.  On the Basic tab, enable "Lock Location and Size". 
That's the location and size of the group's borders, not that of 
individual items within that group.

6) At this point, choose the browse tool, and you can use the group's 
scrollbars to scroll to another portion of the group for editing.

7)  Select the group by clicking on it with the pointer tool, then go 
to menu Object-->Edit Group.  This will allow you to edit (reposition, 
whatever) individual objects within the group.  When you are done, be 
sure to go to menu Object-->Stop Editing Group.

Repeat steps 6 and 7 until done.


There may be other ways of doing this, maybe with fewer steps, but I 
hope this helps you to understand how the group works with scrollbars.

-Kurt

----------------------------------------------------------------
We're in a bigger better war
For your patriotic pastime,
We don't know what we're fighting for-
But we didn't know the last time.
	-Ira Gershwin, "Strike Up the Band", 1927




More information about the use-livecode mailing list