Note: This is an archived post that was originally sent to the Hollywood mailing list on Sun, 06 Dec 2009 09:11:28 -0000
So im trying to make some custom code that shows and hides layers depending on value of X.
However, i have came to a problem. I havent figured out how to set layers IDs in designer so they wouldnt give any trouble.
If i ID them simply from beginning 1, 2, 3, it gives me trouble.
Then i tried to set IDs to 10, 11, 12, that didnt help
then 101, 102, and it said out of range.
setting 32,33,34 didnt help either.
So is there any way to give ID numbers so that they dont act random?
Maybe ID them all?
[06 Dec 2009] Problem with Designers ID numbers.
- airsoftsoftwair
- Posts: 5919
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
[08 Dec 2009] Re: Problem with Designers ID numbers.
Note: This is an archived post that was originally sent to the Hollywood mailing list on Tue, 08 Dec 2009 01:20:06 +0100
I think what you want to use is SetLayerName(). By assigning a name to a layer, you can be sure that it never changes.So im trying to make some custom code that shows and hides layers depending on value of X.
However, i have came to a problem. I havent figured out how to set layers IDs in designer so they wouldnt give any trouble.
If i ID them simply from beginning 1, 2, 3, it gives me trouble.
Then i tried to set IDs to 10, 11, 12, that didnt help
then 101, 102, and it said out of range.
setting 32,33,34 didnt help either.
So is there any way to give ID numbers so that they dont act random?
Maybe ID them all?