Change 20090824-Philip-2 by phi...@philip-dc on 2009-08-24 18:52:27 EDT
in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/branches/4.2
for http://svn.openlaszlo.org/openlaszlo/branches/4.2
Summary: Accessbility for tree control
New Features:
Bugs Fixed: LPP-7865
Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
- Made the root item childId=1. Padded the internal arrays so the
childId is the same as the array index.
- Negative childId seen (bug in reader?) Added some checks to ignore
them.
- Removed unused acc_* methods.
- When using sendAAEvent, must use the root object, not tree item
objects.
For more information:
http://msdn.microsoft.com/en-us/library/ms697605(VS.85).aspx
I made some other changes but backed them out. These compute and save
the depth and description for each tree item.
Tests:
Run test and see that changes to the tree control are voiced. Sometimes
the arrow keys don't change the tree control because the keys are
intercepted by JAWS. I found that running with lzt=html helps the output
and prevents the focus from moving to the devconsole. Sometimes the
application runs very slow because of JAWS.
Tree control works fine in swf9/dhtml
<canvas accessible="true">
<simplelayout axis="y"/>
<tree>Trunk of the tree
<tree xindent="5">Branch 1
<tree isleaf="true">Leaf A</tree>
<tree isleaf="true">Leaf B</tree>
</tree>
<tree xindent="5">Branch 2
<tree isleaf="true">Leaf C</tree>
<tree isleaf="true">Leaf D</tree>
</tree>
</tree>
</canvas>
Files:
M lps/components/base/basetree.lzx
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20090824-Philip-2.tar
_______________________________________________
Laszlo-reviews mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews