set the relayerGroupedControls of a group on another card

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
mrcoollion
Posts: 738
Joined: Thu Sep 11, 2014 1:49 pm

set the relayerGroupedControls of a group on another card

Post by mrcoollion » Tue Jul 05, 2016 5:27 pm

Question ?

Is it not possible to set the relayerGroupedControls of a group on another card ?

Code: Select all

set the relayerGroupedControls of group workinggroup of card workingcard to TRUE
I get this error: 'button "Button1": compilation error at line 204 (set: missing 'to'), char 12'

Or do i set all the relayerGroupedControls of all groups to true of false when i use this statement?

Hope this is possible.

Regards,

Paul

Klaus
Posts: 14208
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: set the relayerGroupedControls of a group on another car

Post by Klaus » Tue Jul 05, 2016 5:51 pm

Hi Paul,

"relayergroupedcontrols" is a global property and not a group property!
So this will do the trick:

Code: Select all

set the relayerGroupedControls to TRUE
Please also check the "relayer" command in the dictionary!


Best

Klaus

mrcoollion
Posts: 738
Joined: Thu Sep 11, 2014 1:49 pm

Re: set the relayerGroupedControls of a group on another car

Post by mrcoollion » Tue Jul 05, 2016 5:59 pm

Thanks Klaus

I did read the dictionary first but it did not tell me if this can be used for one group only or goes for all groups on a card or if it is is a stack property (global).
That is why I asked... so thank you very much for the answer because now I know how to work with it.

regards,

Paul

Post Reply