Tut for tying actions to buttons?

Put your problem here if it does not fit any of the other categories.

Tut for tying actions to buttons?

Postby deenybird » Sat Dec 13, 2008 6:39 pm

I can make a button do something, but i can't create several buttons that do different things. I'm simply trying to create 3 buttons that each perform a separate action. But i'm not sure whether they will all be within one class, how many onclicklisteners i will need etc.

If anyone could point me to a basic tutorial that will answer these questions, I would really appreciate it.
thx.
deenybird
Developer
Developer
 
Posts: 25
Joined: Sat Nov 29, 2008 12:35 am

Top

Postby MrSnowflake » Sun Dec 14, 2008 1:19 pm

Just register different OnClickListeners to each button.
User avatar
MrSnowflake
Moderator
Moderator
 
Posts: 1439
Joined: Sat Feb 16, 2008 3:11 pm
Location: Flanders, Belgium

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Google [Bot] and 17 guests