Hi. Thanks for taking the time to explain all of that. I actually had most of the code figured out and working already, but you've filled in some information about "why" it works that I wasn't sure about. I had the code creating the buttons, and the "button_click" sub with the "LAST" value being stored. I was having trouble getting the array declared in a way that would make it available to the entire class and still keep the compiler happy. Mostly through trial-and-error, I figured out that I could use: PUBLIC aButtons AS Object[150] to accomplish what I needed to. I don't have the "NEW" clause in there; I'm not sure if that will come back to bite me or not. I have a few things to clean up in the user interface and I think my project will be ready for use. I'll probably be back to bother you guys again, though. :-)
P.S. - Happy New Year, everyone! -Bill Bill Richman - Lincoln, Nebraska Tilter at windmills, maker of pies in the sky, & curmudgeon email: b...@geektrap.com web: www.geektrap.com ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user