Win32lib TreeView question

new topic     » topic index » view thread      » older message » newer message

------=_NextPart_000_000F_01C07826.7C67ED50
        charset="iso-8859-1"

Hi all.

Is there a way to highlight an item in a win32lib TreeView without =
clicking it?

I have a Morfit object that when clicked displays all the polygons in =
the object
in the form of a wire frame. This can be done by clicking the name of =
the object
in the treeview or by clicking the object itself.

When I click the object is there a way to highlight (and perhaps =
centralise in
the tree) the matching object name in the treeview.

Also, the html doc's for win32lib show the syntax for "expandItem" as

expandItem ( id )

which I think should be

expandItem ( id, index  )


Thanks

Mark

------=_NextPart_000_000F_01C07826.7C67ED50
        charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi all.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Is there a way to highlight an item in =
a win32lib=20
TreeView without clicking it?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I have a Morfit object that when =
clicked displays=20
all the polygons in the object</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>in the form of a wire frame. This can =
be done by=20
clicking the name of the object</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>in the treeview or by clicking the =
object=20
itself.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When I click the object is there a way =
to highlight=20
(and perhaps centralise in</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>the tree) the matching object&nbsp;name =
in the=20
treeview.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Also, the html doc's for win32lib show =
the syntax=20
for "expandItem" as</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>expandItem ( id )</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>which I think should be</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>expandItem ( id, index  )</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks</FONT></DIV>
<DIV>&nbsp;</DIV>

------=_NextPart_000_000F_01C07826.7C67ED50--

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu