Page 1 of 1
[SOLVED] DP12 Icons Don't Work
Posted: 03 Apr 2013 06:35
by Enternal
Built in reference icons :dp1 and :dp2 works as expected for buttons. But for scripts, it does not work. On the other hand, :dp12 does not work for buttons which is expected but somehow it worked for scripts. However, it only show the #1 icon.
Re: DP12 Icons Don't Work
Posted: 12 Apr 2013 13:49
by admin
"dp12" is a special key that refers to a button but not to an image. You cannot use it for CTB icons.
Re: DP12 Icons Don't Work
Posted: 12 Apr 2013 23:53
by Enternal
So is there a way to use those icons at all? Thos "1" and "2" does look nice and could be useful icons.
Re: DP12 Icons Don't Work
Posted: 13 Apr 2013 10:45
by admin
Why not use :dp1 and :dp2?
Re: DP12 Icons Don't Work
Posted: 13 Apr 2013 11:02
by Enternal
admin wrote:Why not use :dp1 and :dp2?
That's what I mean. That's the problem I was having when I opened this thread. Sorry if I wasn't clear in my first post. Using :dp1 and :dp2 works perfectly for user buttons but it does not work for scripts. Using :dp12 does not work for buttons as expected but for some odd reason, it works with scripts although it only shows "1".
Re: DP12 Icons Don't Work
Posted: 14 Apr 2013 23:53
by Enternal
Here is a simple example:
Code: Select all
"I'm DP1|:dp1"
Msg "Can You See Me Now?";
"I'm DP2|:dp2"
Msg "Can You See Me Now?";
Just save that as a script and run it. You will see what I have been trying to say. On the other hand:
works perfectly for User Buttons as I have said.
Now for the fun and interesting part. Try this as a script:
Code: Select all
"I'm DP1|:dp12"
Msg "Can You See Me Now?";
"I'm Blanky The Snowman|:copy"
Msg "Muhahaha";
Hey look! You can see the "1"!
Re: DP12 Icons Don't Work
Posted: 15 Apr 2013 10:10
by admin
OK, got it. Will work better in the next version. Muhahaha.

Re: DP12 Icons Don't Work
Posted: 15 Apr 2013 22:19
by Enternal
Yeah! It worked! Thanks!
