Notifications
Clear all
[Closed] FlexGrid and maxscript
Jun 08, 2004 8:56 am
Does anybody know haow to effectively use the flexGrid activeX control?
I want to use it because you can change the colour of individual
cells.
My problem is that I want to change the column widths (whick are indexed variables), I use max’s setIndexedProperty on it and it works fine but it also kicks up an error saying “setIndexedProperty requires an index’ed property, got: colwidth” despite the fact that I can see the width has changed.
Test code below:
rollout ro “Untitled” width:162 height:300
(
ActiveXControl ax “MSFlexGridLib.MSFlexGrid.1” pos:[5,6] width:151 height:220
on ro open do
setIndexedProperty ax #colwidth 0 500
)
clearListener()
createDialog ro
you can change the 500 to anything else to see that it is in fact working.
Please help.
1 Reply