Style: Select Grouped Controls

Sarah Reichelt sarahr at genesearch.com.au
Tue Feb 17 20:34:26 EST 2004


On 18 Feb 2004, at 6:50 am, Dar Scott wrote:

> I'd like to understand the motivation for leaving it on.  Are groups  
> for you essentially for sharing controls among cards in multiple  
> placement?  Are groups a way to insert scripts into the message path.   
> That is, why use groups?
>
Here are the usual reasons for me to use groups:
- you have to group radio buttons to get the correct behavior  
automatically.
- groups can be placed on multiple cards to save duplicate scripting  
and object creation.
- groups can be a visual thing, where you show the name & border to  
define a functional block in your interface.
- showing & hiding multiple objects is easy if they are grouped
- scrolling objects larger than the window

BTW, for any ex-HyperCarders who are having trouble understanding  
groups vs backgrounds, I wrote an article on this subject ages ago for  
Rev's "tip-of-the-year" web site:  
http://www.runrev.com/revolution/developers/articles/tipoftheweek/ 
5.html

Cheers,
Sarah



More information about the use-livecode mailing list