New Altuit XML TreeView List Control beta
Chipp Walters
chipp at chipp.com
Sun Jan 6 07:35:01 EST 2002
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/20020106/7602517f/attachment.html>
More information about the use-livecode
mailing list