[SOLVED] DP12 Icons Don't Work
Forum rules
You might want to read this if you're looking for priority service
Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
-
Enternal
- Posts: 1175
- Joined: 10 Jan 2012 18:26
[SOLVED] DP12 Icons Don't Work
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.
Last edited by Enternal on 15 Apr 2013 22:19, edited 1 time in total.
-
admin
- Site Admin
- Posts: 67316
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: DP12 Icons Don't Work
"dp12" is a special key that refers to a button but not to an image. You cannot use it for CTB icons.
FAQ | XY News RSS | XY X
-
Enternal
- Posts: 1175
- Joined: 10 Jan 2012 18:26
Re: DP12 Icons Don't Work
So is there a way to use those icons at all? Thos "1" and "2" does look nice and could be useful icons.
-
admin
- Site Admin
- Posts: 67316
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
-
Enternal
- Posts: 1175
- Joined: 10 Jan 2012 18:26
Re: DP12 Icons Don't Work
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".admin wrote:Why not use :dp1 and :dp2?
-
Enternal
- Posts: 1175
- Joined: 10 Jan 2012 18:26
Re: DP12 Icons Don't Work
Here is a simple example:
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:
Hey look! You can see the "1"!
Code: Select all
"I'm DP1|:dp1"
Msg "Can You See Me Now?";
"I'm DP2|:dp2"
Msg "Can You See Me Now?";Code: Select all
:dp1
:dp2Now 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";-
admin
- Site Admin
- Posts: 67316
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: DP12 Icons Don't Work
OK, got it. Will work better in the next version. Muhahaha. 
FAQ | XY News RSS | XY X
-
Enternal
- Posts: 1175
- Joined: 10 Jan 2012 18:26
Re: DP12 Icons Don't Work
Yeah! It worked! Thanks! 
XYplorer Beta Club