How do you add a control to a group that already exists ?
I know how you can create a group, by supplying a list of controls, but is there a way of adding new controls to that group ?
For example, a group may contain a set of controls, and as a database returns records, a new control has to be added to the group. There may be hundreds of controls that need adding, so supplying huge lists isn't practical.
adding controls to a group
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: adding controls to a group
Hi Kewin,
I think you can use
start editing group "myGroup". have a look at "start editing" entry of the LC dictionary
and any objects created while in group-editing mode are added to that group.
Best regards
Jean-Marc
I think you can use
start editing group "myGroup". have a look at "start editing" entry of the LC dictionary
and any objects created while in group-editing mode are added to that group.
Best regards
Jean-Marc
https://alternatic.ch
Re: adding controls to a group
For scripted solutions, use "create <control> in group <groupname>". For example:
create button "Click Me" in group "mainGrp"
create button "Click Me" in group "mainGrp"
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: adding controls to a group
Oh Yes,
create is a better way. More clear more simple
Thanks for this Jaque
Jean-Marc
create is a better way. More clear more simple
Thanks for this Jaque
Jean-Marc
https://alternatic.ch