Page 1 of 1
Correct script for a property change?
Posted: Wed Aug 17, 2016 6:18 pm
by melristau
Need basic help with changing the "Select group controls" property - Please and Thanks!
not working:
Code: Select all
set the "select grouped controls" of grp "x59" to false
Re: Correct script for a property change?
Posted: Wed Aug 17, 2016 6:46 pm
by Klaus
Hi Mel,
"selectgroupedcontrols" is a
global property and no property of a group!
...
set the selectgroupedcontrols to TRUE
...
If in doubt, always check the dictionary, it is really better than its reputation!
Best
Klaus
Re: Correct script for a property change?
Posted: Wed Aug 17, 2016 8:27 pm
by FourthWorld
Klaus wrote:"selectgroupedcontrols" is a global property and no property of a group!
Respectfully, as of v4.x and later it is both.
The global property works as you described, and the group property overrides that for the group where that property is false, allowing custom controls like the DataGrid to maintain their interactions with the pointer tool as though they're a single object.
Re: Correct script for a property change?
Posted: Wed Aug 17, 2016 8:30 pm
by Klaus
Ouch, got me! I should read the
complete entry in the dictionary.
Sorry, Mel, apologies, my fault!