Forums

This topic is locked

Icons in the MM:Tree object

Posted 28 Jul 2001 21:53:14
1
has voted
28 Jul 2001 21:53:14 Bruno Mairlot posted:
Hello,

In the "Extending Dreamweaver" Help, they document the treenode element with the possibility to add icon with the attribute icon='4'.

I can't see any icons even while respecting their syntax.

Anybody knows why ?

"First they laugh at you, then they fight you, then you Win..." Ghandi

Replies

Replied 29 Jul 2001 17:05:40
29 Jul 2001 17:05:40 George Petrov replied:
Yes the docs are wrong.

There are only 3 types available, not sure about the numbers but you have only: document, open folder and closed folder - I think it was 1,2 en 3


---------------------------------------
George Petrov - CTO, www.UDzone.com

www.UDzone.com : A Dreamweaver,
Dreamweaver Ultradev and Fireworks site
by developers for developers.
---------------------------------------

Replied 29 Jul 2001 19:27:35
29 Jul 2001 19:27:35 Bruno Mairlot replied:
It worked ! Thanks

Actually, it seems that only type 0 : no icon, 1 : folder, 2 : document works.

Thanks.

BTW I've uploaded the extension I was developping for which I was in need ! To be approved yet !

"First they laugh at you, then they fight you, then you Win..." Ghandi
Replied 30 Jul 2004 23:54:07
30 Jul 2004 23:54:07 Chris Charlton replied:
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>0 : no icon, 1 : folder, 2 : document<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

I get a folder when I use icon="0", which is confusing because icon="1" is a folder icon, but when I omit the icon attribute or use icon="3" I get no icon, in Dreamweaver MX.

Any thoughts? Bad documentation?

<pre id=code><font face=courier size=2 id=code><i>DW Documentation:</i>
0 = no icon; 1 = DW document icon; 2 = Multidocument icon </font id=code></pre id=code>


I found this in the old 'Extending Dreamweaver 4' documentation, I tried them in DW MX but none past 3 showed, are these depreciated in MX? Anyone know the equivelant of the icons for MX+?
<pre id=code><font face=courier size=2 id=code>Integer index of built-in icon to use, starting with 0. The built-in icons are:

0 = no icon
1 = DW document icon
2 = multi-document icon
3 = folder
4 = image document
5 = green check
6 = red X
7 = question mark
8 = note icon
9 = warning icon
10 = stop icon</font id=code></pre id=code>

Edited by - ccharlton on 01 Aug 2004 02:13:58

Reply to this topic