Skip to main content
Participant
July 31, 2006
Question

How to use ADM Hierarchy List and List entry?

  • July 31, 2006
  • 5 replies
  • 829 views
I want to use a ADM HierarchyList Box to display the names of some files, but the name and icon can't be seen.What's the problem?
This topic has been closed for replies.

5 replies

A. Patterson
Inspiring
January 25, 2007
My experience with this ADM class is that you basically have to implement the visuals yourself. Near as I can tell it's the only ADM item for which the default representation is nothing.

Setup the Draw routines, either with the SDK or by overriding the object methods. Get the bounding box & draw into it your text, and your icon.

Hierarchy list controls can be a bit of pain, but useful.
Participating Frequently
January 17, 2007
Are you converting from unicode back to text?
Participant
January 17, 2007
Refer to this site
http://support.adobe.com/devsup/devsup.nsf/docs/51719.htm
Participant
August 7, 2006
I've tried for several times,but I failed every time.
Is there some example of adobe illustrator plugin?
Thank you for answering me.
Known Participant
August 2, 2006
Try setting the entry width and height and the entry text rect width and height. There is an obscure note about this in the ADM Reference document under the FAQ section. It says:

"The text rectangle for hierarchical lists defaults to an undefined rect."

Don't ask me why they would set the defaults to something broken.