Re: Grouping controls within a group

2014-02-27 Thread Peter Haworth
Thanks Bjornke. I'm nervous about putting a group into and out of edit mode by script having had some bad experiences with it in the past. Seems like it puts the stack into a weird and wonderful state where the controls outside of the edited group no longer exist and any reference to a control tha

Re: Grouping controls within a group

2014-02-27 Thread Björnke von Gierke
You can also use the "start / stop editing" command while locking the screen. Basic testing shows it that just messing with relayerGroupedControls doesn't help... Could be nice if that'd be possible. Until then, the following works: on mouseUp lock screen start editing group 1 group but

Re: Grouping controls within a group

2014-02-26 Thread Peter Haworth
Hi Mats, That works great, thanks. I was using a group command with a list of the selected objects before and that's what threw an error (that was for pre v6). Pete lcSQL Software Home of lcStackBrowser and SQLiteAdmin

Re: Grouping controls within a group

2014-02-26 Thread Mats Wilstrand
Hi Pete In 6 + versions, I use the "relayer" command as it gives full control and works really well. on mouseUp new grp relayer last grp to back of grp "G" relayer btn "A" to back of last grp relayer btn "B" to back of last grp end mouseUp If you do not want to use "relayer" you can

Grouping controls within a group

2014-02-26 Thread Peter Haworth
I have a need to group controls within an existing group into a subgroup by script, but I get a runtime error when trying to do that - in 6.5.2 the message is "Object cannot be grouped". Any ideas on how to do that? The only way I can think of is to ungroup the main group, group the selected cont