New Altuit XML TreeView List Control beta
Chipp Walters
chipp at chipp.com
Mon Jan 7 00:14:01 EST 2002
I should mention, the XML TreeView control takes advantage of some new
capabilities of RR1.1.1 beta engine which I believe is the same as MC 2.4.1
engine. This should work in MetaCard as well, but it WILL NOT WORK in RR 1.1
or below.
-Chipp
-----Original Message-----
From: use-revolution-admin at lists.runrev.com
[mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Chipp Walters
Sent: Sunday, January 06, 2002 6:35 AM
To: use-revolution at lists.runrev.com
Subject: New Altuit XML TreeView List Control beta
Just finished up the XML TreeView List Control beta. Hasn't been tested
yet on Mac, but seems to work well on PC's. Can be found at:
http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm
I'll use this control to create an explorer-like outline viewer for
processing data to/from the web (though you don't need the web to use this).
Any feedback is welcome...even desired. See below.
----------------------------------------------------------------------------
--
Altuit's XML TreeView List Control can be set using a single command and
XML string. Along with customized rendering options, it can also
automatically process handlers with parameters based upon which line is
clicked. It maintains a 'state' for the last clicked and available item.
Custom icons can be set for each item as well. Simple to use:
set the altXML of fld ListXML to {XMLstring}
Features:
The XMLTreeView control lets you:
·Customize the + and - expand/contract buttons. Just replace the images:
imgMinus and imgPlus with ones you wish to use.
·Change the Font Name, Size and Style. Just be sure to check the 'Fixed
Line Height' checkbox.
·Assign different icons for different list items. Any element can have an
icon attribute, which when set to an image, will display for its' respective
list item. Use the fixedLineHeight property settings to expand the line to
accomodate different sizes of icons
·Assign handler with a custom parameter for a list item. Any element can
have an attribute which lists a handler to call when clicked on along with
a custom parameter if so desired.
·Support for unlimited(?) nested elements. (Currently only tested to
around 5, but it should work as the parser is iterative).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.runrev.com/pipermail/use-livecode/attachments/20020107/012ecca7/attachment.html>
More information about the use-livecode
mailing list