After Deletebutton(2), do i have 1-2-3 or 1-3-4?

Discuss any general programming issues here
Post Reply
Bugala
Posts: 1181
Joined: Sun Feb 14, 2010 7:11 pm

After Deletebutton(2), do i have 1-2-3 or 1-3-4?

Post by Bugala »

IF i have Button number 1, 2, 3 and 4 and i use DeleteButton(2), which one do i have after that:

Button(1), Button(2), Button(3)
or
Button(1), Button(3), Button(4)?
PEB
Posts: 569
Joined: Sun Feb 21, 2010 1:28 am

Re: After Deletebutton(2), do i have 1-2-3 or 1-3-4?

Post by PEB »

You would have 1, 3, and 4

The button numbers have nothing to do with how many buttons you have created or deleted. For example, you might create only one button, but give it the number 641571 if you choose to do so.
Bugala
Posts: 1181
Joined: Sun Feb 14, 2010 7:11 pm

Re: After Deletebutton(2), do i have 1-2-3 or 1-3-4?

Post by Bugala »

Okay, thanks PEB.

Was too lazy to make test program to see how it works.
Post Reply