I have number of group in stack, enclosed (groups inside a group) with a group and a scroll bar for scrolling. but i don't want that scrollbar when the group length is not longer than my stack.
I used this code, but doesn't works
Code: Select all
if the thumposition of group "group_name" > 0 then
set the scrollbarWidth of group "Scroll_group" to 0
end if