1. Win32lib TreeView question

------=_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 message » categorize

2. Re: Win32lib TreeView question

> -----Original Message-----
> From: Mark Brown

> When one of us asks for some little feature like this to be
> added, is it
> likely to turn up in future official versions of win32lib?

Yes, it definitely should, and usually does.  Derek has been really good
about incorporating all the bugs and additional features that have been
suggested (as well as giving credit--take a look at the change log).

However, there's always the possibility that something slips through the
cracks, and you might have to bring it to Derek's attention again. :)

Matt

new topic     » goto parent     » topic index » view message » categorize

3. Re: Win32lib TreeView question

----- Original Message -----
From: "Mark Brown" <mabrown at SENET.COM.AU>
To: <EUPHORIA at LISTSERV.MUOHIO.EDU>
Sent: Sunday, January 07, 2001 12:21 AM
Subject: Re: Win32lib TreeView question


> Matt wrote
>
> > However, what you'll want to do is to modify setIndex.  Put this code
into
>
> <SNIP>
>
> Thanks Matt. It works exactly as I wanted it to.
>
> When one of us asks for some little feature like this to be added, is it
> likely to turn up in future official versions of win32lib?
>
> Much appreciated.
>
> Mark

Yes.
------
Derek Parnell
Melbourne, Australia
(Vote [1] The Cheshire Cat for Internet Mascot)

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu