set row and column data in a matrixctrl

Oct 27, 2010 at 1:25pm

set row and column data in a matrixctrl

I know this seems like a pretty basic question, and I believe I’ve done this before but can’t remember how.

How do you input just a row into a matrix? Like if I wanted row 1 to be a list of values, how would I go about doing that?

I looked at the help file and I couldn’t find it and I looked at the reference file, and I searched the forums. It’s driving me crazy since it seems like such a basic thing and I can’t figure it out.

Thank you and any help is greatly appreciated.

nick

#52956
Oct 27, 2010 at 7:48pm

There aren’t any messages to matrixctrl that do it for you, you’ve got to work it out by patching. listfunnel and zl should be pretty much all you need.

#190475
Oct 27, 2010 at 8:55pm

Ok thanks, I’ll check it out.

#190476
Oct 28, 2010 at 12:58pm

well, I was able to figure out how to input data into a desired column, but I can’t figure out how to get data into the desired row. Any hint as to which zl object I should use?

Here’s what I have so far:

– Pasted Max Patch, click to expand. –
#190477
Nov 1, 2010 at 9:35am

if you use [listfunnel] you’d just need to change the indices, so instead of

$1 0 $2 //column, row, value — the row stays hard-coded

it’s

0 $1 $2 //column, row, value — the column stays hard-coded

I’d like a “setrow” and “setcolumn” message to matrixctrl, too, seems like it should have it.

#190478
Nov 2, 2010 at 6:09am

damn, that was a serious brain teaser, I don’t know why that was so hard to figure out. Here is what I came up with.

– Pasted Max Patch, click to expand. –
#190479
Nov 2, 2010 at 8:44am

Hi !
I’ve just visited this forum. Happy to get acquainted with you. Thanks.

__________________

http://moviesonlineworld.com

#190480

You must be logged in to reply to this topic.