Page 1 of 1

TreeView /HideSelection and ShowTooltips

PostPosted: Mon Nov 05, 2012 2:58 pm
by BurninBrainCells
Anyone familar with...
hpwTreeViewSetVar "[hpwTreeViewHideSelection]" "1"
hpwTreeViewSetVar "[hpwTreeViewShowTooltips]" "1"

I have try ed to set hpwTreeViewHideSelection to 0 or 1 and don't see any effect on anything anywhere.
What data is being hidden?
Are ShowTooltips refereing to NB's built in tooltips or a function of Treeview?
Any hint or clues are appreciated.

Great PI, does what it says on the box, Im using it for a table of contents.
Many thanks to HPW for this effort, as usual.... BBC

Re: TreeView /HideSelection and ShowTooltips

PostPosted: Mon Nov 05, 2012 11:47 pm
by HPW
Hello,

>hpwTreeViewSetVar "[hpwTreeViewHideSelection]" "1"

Means the behaviour of the treeview when loosing focus.
With hide selection=1 you can no more see which node is selected.
With 0 the selection is still visible but grayed out.

>hpwTreeViewSetVar "[hpwTreeViewShowTooltips]" "1"

From the web-page: Variable: hpwTreeViewShowTooltips to store Flag for showing longer node-texts as tooltips ON=1 Off=0

Means that longer nodetext that does not fit into the treeview window, can be read when you move the cursor on it and it shows the long tect via tooltip.

Regards

Re: TreeView /HideSelection and ShowTooltips

PostPosted: Wed Nov 07, 2012 4:12 pm
by BurninBrainCells
Hi Ya` HPW
Ok thanks Im gonna turn both on / off and note the difference.

While I got you here...
Does CHARTEXT.TXT need to be distributed with an exe, in support of the PI functions for an end user or is CHARTEXT.TXT only necessary at the development stage?
BBC

Re: TreeView /HideSelection and ShowTooltips

PostPosted: Wed Nov 07, 2012 4:17 pm
by HPW
CHARTEXT.TXT only necessary at the development stage?


Yes, it is only a info for the developer.

Re: TreeView /HideSelection and ShowTooltips

PostPosted: Thu Nov 08, 2012 5:33 pm
by BurninBrainCells
Great Thanks... BBC