Home » U++ Library support » TreeCtrl » Bug changing text after node insertion
Re: Bug changing text after node insertion [message #16958 is a reply to message #16954] |
Wed, 23 July 2008 10:53 |
mrjt
Messages: 705 Registered: March 2007 Location: London
|
Contributor |
|
|
luzr wrote on Wed, 23 July 2008 09:10 |
Partial solution is to not use Option's Label (leave it empty) and put its text to Node's Value (haha, back at it again . Then clicking the option box will toggle the option, clicking the text will do selections.
|
You have to do it like this anyway, otherwise the Option obscures the highlight rect.
Quote: | I am afraid this might not be consistent with interface behaviour e.g. in case there are EditFields in the TreeCtrl...
|
To be honest I think it makes as much sense as anything else in that situation, and it will only change behaviour when using multiselect and ctrls.
The existing way, where the current selection is cleared whenever a ctrl gets focus is broken. For instance, currently the selection is cleared if focus changes to another window then back again.
Quote: |
What makes me wonder, BTW, is how the Option gets the focus?!
|
The sequence is:
LeftDown
DoClick
SetCursorLine
SetWantFocus on the ctrl
ChildGotFocus
SetCursorLine
SelectOne (obviously clears any other selected items)
Perhaps a better solution would be to stop the first CursorLine being called when using CTRL-key and multiselect, but the behaviour is definitely wrong.
|
|
|
|
|
Bug changing text after node insertion
|
|
|
Re: Bug changing text after node insertion
By: masu on Wed, 16 July 2008 17:54
|
|
|
Re: Bug changing text after node insertion
By: mirek on Thu, 17 July 2008 16:43
|
|
|
Re: Bug changing text after node insertion
|
|
|
Re: Bug changing text after node insertion
By: mirek on Thu, 17 July 2008 18:27
|
|
|
Re: Bug changing text after node insertion
|
|
|
Re: Bug changing text after node insertion
By: mirek on Sat, 19 July 2008 19:37
|
|
|
Re: Bug changing text after node insertion
|
|
|
Re: Bug changing text after node insertion
By: mirek on Mon, 21 July 2008 09:12
|
|
|
Re: Bug changing text after node insertion
|
|
|
Re: Bug changing text after node insertion
By: mirek on Mon, 21 July 2008 10:43
|
|
|
Re: Bug changing text after node insertion
|
|
|
Re: Bug changing text after node insertion
By: mirek on Mon, 21 July 2008 11:52
|
|
|
Re: Bug changing text after node insertion
|
|
|
Re: Bug changing text after node insertion
By: mirek on Mon, 21 July 2008 12:57
|
|
|
Re: Bug changing text after node insertion
|
|
|
Re: Bug changing text after node insertion
By: mirek on Mon, 21 July 2008 14:29
|
|
|
Re: Bug changing text after node insertion
|
|
|
Re: Bug changing text after node insertion
By: mirek on Mon, 21 July 2008 15:47
|
|
|
Re: Bug changing text after node insertion
|
|
|
Re: Bug changing text after node insertion
By: masu on Tue, 22 July 2008 09:32
|
|
|
Re: Bug changing text after node insertion
|
|
|
Re: Bug changing text after node insertion
By: mrjt on Tue, 22 July 2008 15:56
|
|
|
Re: Bug changing text after node insertion
By: mirek on Wed, 23 July 2008 10:19
|
|
|
Re: Bug changing text after node insertion
By: mirek on Wed, 23 July 2008 10:10
|
|
|
Re: Bug changing text after node insertion
By: mrjt on Wed, 23 July 2008 10:53
|
|
|
Re: Bug changing text after node insertion
|
|
|
Re: Bug changing text after node insertion
|
|
|
Re: Bug changing text after node insertion
By: mirek on Wed, 05 November 2008 10:07
|
|
|
Re: Bug changing text after node insertion
|
|
|
Re: Bug changing text after node insertion
|
|
|
Re: Bug changing text after node insertion
By: mirek on Sat, 29 November 2008 13:17
|
|
|
Re: Bug changing text after node insertion
By: mirek on Wed, 23 July 2008 22:03
|
Goto Forum:
Current Time: Tue Jun 11 13:54:28 CEST 2024
Total time taken to generate the page: 0.01299 seconds
|