I forgot to mention--I'm not sure if this is even the right approach, it just seems like it is to me. I welcome a better approach.
On Mar 25, 8:51 pm, rpflo <rpflore...@gmail.com> wrote: > I'm just now experimenting with classes and getting more excited than > is good for me. Here I've boiled down a problem I'm having: > > http://sosaladesign.com/Events/ > > The page explains what I'm trying to do, but I'll give it a blurb here > too. > > I've got two instances of the class "Test". In Test I've got a > method, called "disableStuff", that disables a group of buttons > depending on the variable passed to it. > > I'd like to have an event in the class called "onButtonClick", and I'd > like to be able to define what it does when I create a new instance of > Test. In my example, I want it to run a method on another instance of > Test. > > All help is emphatically appreciated! > > As an aside and for my own geek vocabulary, an object is an instance > of a class, right?