471,317 Members | 2,583 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,317 software developers and data experts.

a way to keep track of # of clicks

Is there a way to keep track of the number of times someone clicks on a
menu item in a prorgam? What I want to do is make the rectangle
disappear after they click on it at the main menu 3 times so visually
show them they can't do it any longer.

Since I appended the button to a main menu list, I would think undrawing
it would have something like pop.mainMenuList[8] in it after they click
on it three times. (not in succession, after it takes them to the
questions screen and then back to the main menu)

Any suggestions?

Dec 10 '07 #1
0 966

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Alex Thomas | last post: by
1 post views Thread by d.schulz81 | last post: by
3 posts views Thread by Alan Wang | last post: by
4 posts views Thread by Patrick Rouse | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.