` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Templates: Setting up tree view in templates
1999-03-29 -- Phillip Carroll
 
Newsgroups: TopSpeed.Topic.Templates In article <36fa5e01.0@tsnews.clarion.com>, Pierre Tremblay wrote: > I did write a class for a control template and I would like to see the > object name under the "Local Object" tree when the embed button is pressed. > Is someone can give some directions where to look for doing this? > Putting an object under the "Local Object" list in the embed tree is very easy to do. It requires using the new TREE attribute of the #EMBED statement instead of a MAP atribute. This new TREE attribute is very nice. It is a vast improvement over the old MAP attribute. Using TREE, it is very easy to arrange embeds any way you like into a tree structure. Basically, any string used in this parameter that starts with 'Local Objects' will cause the embed to appear in the local objects list. I am using this attribute with UltraTree, when it is installed in C5. For the attribute parameter, I use a call to a #GROUP, which returns the string that determines placement of the embed into the embed tree. Because UltraTree is a master object that controls subsidiary objects, I structure the whole collection as a tree of objects under the controlling UltraTree object. Extremely simple to do. You can generate subheadings and all sorts of neat stuff. Perhaps this would make a good topic for an article in Clarion Magazine. Phil Carroll Paragon Design & Development UltraTree Professional Edition - the ultimate tree http://www.paragondandd.com


Today is November 23, 2024, 3:44 am
This article has been viewed 35273 times.
Google search has resulted in 43 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: