i am trying set the width of the datagrid scrollbars
with
Code: Select all
set the dgProp[ "scrollbar width" ] of group "Datagrid 1" to 10
Setting it to auto brings the srollbar back.
Am i doing something wrong?
Matthias
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
set the dgProp[ "scrollbar width" ] of group "Datagrid 1" to 10
Code: Select all
on mouseUp
put the dgProp[ "scrollbar width" ] of group "DataGrid 1" into tScrollbarWidth
answer info tScrollbarWidth -- returns auto
set the dgProp[ "scrollbar width" ] of group "DataGrid 1" to 100
put the dgProp[ "scrollbar width" ] of group "DataGrid 1" into tScrollbarWidth
answer info tScrollbarWidth -- returns 100 (the scrollbar width has therefore been set)
-- the scrollbar disappears
end mouseUp