[comp.sys.next] Matrix confusion

u-sgreen%peruvian.utah.edu@cs.utah.edu (Scott Greenman) (08/17/90)

I am in the process of designing my first NeXT application, and I am a little
confused about Matrix objects.  I have a matrix of buttons, and I am trying
to do several things such as enabling, disabling, changing titles and icons,
and changing the transparency of different buttons in response to the user
pressing the buttons.

Here are some specific questions:

 - How are the button numbered (row,col)?  Is the top left (0,0) or (1,1)?

Can someone also explain to me the orginiztion of objects in a matrix?  What
is the relation between the Matrix object, Cell objects, ButtonCell objects,
and Button objects?

 - How do I change the transparency of a button in the matrix?
 - How do I change the Title and Icon?
 - How do I change Enable/Disable?
 - If I change any of these values, do I have to then send a display message?
   Which object do I send the display message to?

Thanks for any help.

Scott Greenman
Univ of Utah