|
-
Sep 28th, 2006, 12:04 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] commandbutton array
i have an array of 101 command buttons called carnivore(0 to 100) and i want them to all execute a piece of code. for example, i want them to all execute this piece of code:
text1.text = carnivorevar(i).attack
i being the index of the button i clicked
is there any simple way to do this, i mean other than pasting the code into each and every command's click event?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|