[DUG] Showing Selected Treeview node when focus is elsewhere - HOW?

Allan, Samuel S.A.Allan at massey.ac.nz
Mon Aug 8 15:44:27 NZST 2005


If I am not mistaken, the HideSelection property controls whether or not
the selection remains visible when the tree loses focus. It defaults to
True (hides selection). Setting it to False should fix this for you.

Samuel

-----Original Message-----
From: delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz]
On Behalf Of Moretti, Giovanni
Sent: Monday, August 08 2005 3:36 p.m.
To: NZ Borland Developers Group - Delphi List
Subject: [DUG] Showing Selected Treeview node when focus is elsewhere -
HOW?


Hi

I'm using a treeview and want to click on a node and then use some
sliders/editboxes to alter properties related to the selected node.

Selecting the node to twiddle is fine - it becomes selected and is
visibly affected (goes blue) but when I click or mousedown on the slider
the treeview loses focus and the user can't tell which node in the tree
is being affected.

Is there any way (other than using the Treeview State images) to do
this? I'd like the Blue "Selected Node" indication to NOT go away, after
all the treeview still knows (via its selected property) which node is
the favoured one.

Ideas would be appreciated.

Thanks Giovanni

======================================================================
Giovanni Moretti  |  Institute of Information Sciences and Engineering
Senior Lecturer   |  Massey University, Palmerston North,  New Zealand
Computer Science  |  Ph 64-6-3505799x2474 = Fax 64-6-3502259 == ZL2BOI 
----------------------------------------------------------------------
http://www-ist.massey.ac.nz/moretti      mailto:G.Moretti at massey.ac.nz

_______________________________________________
Delphi mailing list
Delphi at ns3.123.co.nz
http://ns3.123.co.nz/mailman/listinfo/delphi



More information about the Delphi mailing list