On Tuesday 19 April 2016 23:46:26 Krzysztof wrote:
> Is there option for show selected dir even when widget is not focused
> / active? Currently, when I change focus to other widget then I don't
> see which dir is selected. IIRC in LCL this option is known as
> "HideSelection" for edit kind widgets.

Selection of directories is done by checkboxes, please activate options 
dto_checkbox. I moved the focused colour setting from "treeitem" edit to the 
grid column so it does not vanish if TTreeView is not focused.

> Other requests:
> 1. If dto_expandondblclick is set, then it could also collapse node on
> double click (kind off expanded := not expanded)

I already thought about it. Cons, pros? Probably it is the best to 
add "dto_collapseondblclick". ;-)

> 2. There is odd behavior when expanding node (no matter if by click on
> icon or double click). When expanding node, first subdir is
> automatically selected,

This is for incremental search by keyboard in subdirectory. The same happens 
by expanding a node by LeftArrow-key.

> but not real, event "onpathselected" is not 
> called, it is called when I really click on it (but there is
> absolutely no difference in look). Very confusing for final "monkey
> user" aka "client" ;)
>
We need to differ between selecting a node by pressing Enter or clicking on 
the caption which closes the dropdown widget in TDirDropDownEdit and changing 
the focused node. The first triggers OnPathSelected, the second triggers 
OnPathChanged. Editing the checkboxes triggers OnSelectionChanged.

I assume there need been more properties mirrored from TDirTreefo to 
TDirTreeView. I try to mirror "grid" and "treeitem" but it probably needs 
some difficult changes in streaming system because "fdirview" also is 
streamed.
What is your utilisation of TDirTreeView?

Martin

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to