So I need to make an 8x8 grid, that each square intitially is white, but when the mouse is clicked in one of the panels, it is changed to a random color. I started with a gui then input 64 individual panels, but is there an easier way to do this?

That's probably as easy as it gets - provided that you created an 8x8 array of panels, and do all the processing in nested loops.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.