{"action":"created","issue":{"url":"https://api.github.com/repos/Virtual-TreeView/Virtual-TreeView/issues/161","labels_url":"https://api.github.com/repos/Virtual-TreeView/Virtual-TreeView/issues/161/labels{/name}","comments_url":"https://api.github.com/repos/Virtual-TreeView/Virtual-TreeView/issues/161/comments","events_url":"https://api.github.com/repos/Virtual-TreeView/Virtual-TreeView/issues/161/events","html_url":"https://github.com/Virtual-TreeView/Virtual-TreeView/issues/161","id":55019138,"number":161,"title":"Shift+End does not work as expected with toGridExtension + toFullRowSelect options set","user":{"login":"vincentparrett","id":1037262,"avatar_url":"https://avatars.githubusercontent.com/u/1037262?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentparrett","html_url":"https://github.com/vincentparrett","followers_url":"https://api.github.com/users/vincentparrett/followers","following_url":"https://api.github.com/users/vincentparrett/following{/other_user}","gists_url":"https://api.github.com/users/vincentparrett/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentparrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentparrett/subscriptions","organizations_url":"https://api.github.com/users/vincentparrett/orgs","repos_url":"https://api.github.com/users/vincentparrett/repos","events_url":"https://api.github.com/users/vincentparrett/events{/privacy}","received_events_url":"https://api.github.com/users/vincentparrett/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Virtual-TreeView/Virtual-TreeView/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Virtual-TreeView/Virtual-TreeView/labels/imported","name":"imported","color":"FFFFFF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-21T13:38:01Z","updated_at":"2015-01-21T13:38:34Z","closed_at":null,"body":"_From [Dr.David...@gmail.com](https://code.google.com/u/107471269721655878703/) on June 24, 2010 07:01:44_\n\nWhat steps will reproduce the problem? 1. make a grid with toGridExtension option set\r\n2. click on the first node\r\n3. Press SHIFT+END What is the expected output? What do you see instead? I would expect all nodes selected What version of the product are you using? On what operating system? 4.86 Please provide any additional information below. this is happening because the FocusedNode is not being set in WMKeyDown in \r\n\r\n                  if not ActAsGrid or (ssCtrl in Shift) then\r\n                    FocusedNode := Node;\r\n                  if ActAsGrid and not (toFullRowSelect in FOptions.FSelectionOptions) then\r\n                    FocusedColumn := NewColumn;\r\n                end;\r\n\r\nbecause ActAsGrid=True....\r\n\r\nIs this the desired behaviour? I presume Shift+End should work even with toGridExtension on? I think the code should be \r\n\r\nif not ActAsGrid or (ssCtrl in Shift) or (ssShift in Shift) then\r\n  FocusedNode := Node;\n\n_Original issue: http://code.google.com/p/virtual-treeview/issues/detail?id=161_"},"comment":{"url":"https://api.github.com/repos/Virtual-TreeView/Virtual-TreeView/issues/comments/70837640","html_url":"https://github.com/Virtual-TreeView/Virtual-TreeView/issues/161#issuecomment-70837640","issue_url":"https://api.github.com/repos/Virtual-TreeView/Virtual-TreeView/issues/161","id":70837640,"user":{"login":"vincentparrett","id":1037262,"avatar_url":"https://avatars.githubusercontent.com/u/1037262?v=3","gravatar_id":"","url":"https://api.github.com/users/vincentparrett","html_url":"https://github.com/vincentparrett","followers_url":"https://api.github.com/users/vincentparrett/followers","following_url":"https://api.github.com/users/vincentparrett/following{/other_user}","gists_url":"https://api.github.com/users/vincentparrett/gists{/gist_id}","starred_url":"https://api.github.com/users/vincentparrett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vincentparrett/subscriptions","organizations_url":"https://api.github.com/users/vincentparrett/orgs","repos_url":"https://api.github.com/users/vincentparrett/repos","events_url":"https://api.github.com/users/vincentparrett/events{/privacy}","received_events_url":"https://api.github.com/users/vincentparrett/received_events","type":"User","site_admin":false},"created_at":"2015-01-21T13:38:34Z","updated_at":"2015-01-21T13:38:34Z","body":"_From [Dr.David...@gmail.com](https://code.google.com/u/107471269721655878703/) on December 19, 2013 21:20:50_\n\nWord tables are not a good example. If the entire row is selected in Word, SHIFT+END simply selects the next row. That does not make much sense under any definition.\r\n\r\nIf you put a TStringGrid on a form, put on goRowSelect and press SHIFT+END it will select to the end of the grid. If goRowSelect is not on, SHIFT+END selects the rest of the columns until the end of the row. That is perfectly consistent and logical behavior.  Maybe that would be a solution?"}}