Code for Scrolling the objects in a card

Frank Leahy frank at backtalk.com
Sat Jul 24 06:24:23 EDT 2004


On Jul 24, 2004, at 10:59 AM, use-revolution-request at lists.runrev.com 
wrote:

> From: Richard Gaskin <ambassador at fourthworld.com>
> Subject: Re: Code for Scrolling the objects in a card
> To: How to use Revolution <use-revolution at lists.runrev.com>
> Message-ID: <4101A755.4010906 at fourthworld.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>
> The only limitations I've encountered are documented in Bugzilla #623.
> In brief, there's no way to interactively create controls inside of 
> groups.
>

Richard,

I'm not quite sure what you mean by "there's no way to interactively 
create controls inside of groups"...I'm pretty sure I'm doing it.  For 
example, the way I create a scrolling group of images is by starting 
with a blank "canvas group", and then copying an image group (one copy 
for each image) into the canvas group.  Each image group is made up of 
fields, buttons and checkboxes.  The code is:

       put "Image Group " & i into newName
       copy group "Image Group 1" to group "Canvas Group"
       set the name of it to newName

I've never tried it, but I would guess that "copy control x to group y" 
should also work.

Or did you mean something else?

-- Frank Leahy



More information about the use-livecode mailing list