Thread Rating:
- 0 Votes - 0 Average
- 1
- 2
- 3
- 4
- 5
|
Need help with icons
|
| Author |
Message |
tom
Active DCX User
 
Posts: 3
Joined: Dec 2008
Reputation: 0
|
Need help with icons
Hi!
I'm trying to include some icons into a dialog but only the last of them is working. Here's the XML source:
Code:
<dcxml>
<dialogs>
<icons>
<icon type="toolbar" src="$ICODir(core\website.ico)" />
<icon type="toolbar" src="$ICODir(core\devcorner.ico)" />
<icon type="toolbar" src="$ICODir(core\exit.ico)" />
</icons>
<dialog name="CoreAbout" w="200" h="130" center="" caption="Heaven's Gates" margin="5 5 5 5" cascade="v" border="bmntyz">
<pane>
<control type="text" styles="center">About</control>
</pane>
<pane>
<control type="text" eval="1" styles="center">Running mIRC version $version</control>
</pane>
<control type="panel">
<control type="toolbar" styles="tooltips">
<item caption="Website" tooltip="Visit HG's official website" icon="1" />
<item caption="Dev Corner" tooltip="Visit HG's dev corner" icon="2" />
<item caption="Close" tooltip="Close this dialog" icon="3" />
</control>
</control>
</dialog>
</dialogs>
</dcxml>
If I change the last icon, the icon changes too. But I would be able to use them all!
Thanks in advance!
- Tom from Wake Up!
|
|
| 12-26-2008 07:32 AM |
|
Mpdreamz
Super Moderator
     
Posts: 59
Joined: Nov 2008
Reputation: 0
|
RE: Need help with icons
hey Tom
Thanks for trying out DCXML!
It seems that adding multiple single icons doesnt work.
You can add multiple icons right now if theyre packed in an .icl or .dll or .exe file with the indexmax and indexmin property you can control what range of icons it should load into the control.
@iconsushi is a free tool that lets you create icl's of multiple icons really easy.
I will fix this in the next version!
|
|
| 01-01-2009 08:09 PM |
|