-
Loops and IButtons
Why does this script only create one button?
[CODE][ISubPalette,"ZPlugin:MyButtons"]
[Loop, 4,
[IButton,[StrMerge,"ZPlugin:MyButtons:button",loopCount],[StrMerge,"Button ",loopCount],
,,160 /*width*/,,,/*height*/]
,loopCount][/CODE]
shouldn't it make four?
-
No idea why that doesn't work, though frankly, even if it did it would be of limited usefulness.
-
I believe the buttons need to have unique names?
EDIT: Never mind. I didn't see the StrMerge with the loopcount!
Last edited by Nyx702; 11-17-12 at 03:17 PM.
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