Print Page | Close Window

Cursor Navigation & FocusSubItems

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=15880
Printed Date: 29 September 2024 at 11:38am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Cursor Navigation & FocusSubItems
Posted By: jimmy
Subject: Cursor Navigation & FocusSubItems
Date Posted: 17 December 2009 at 5:34am
Hello,

if FocusSubItems is TRUE, than sub item selection can't handle with cursor keys.
VK_LEFT will close the sub tree element.

  Jimmy




Replies:
Posted By: mdoubson
Date Posted: 18 December 2009 at 12:44pm
13.2.2 - use Shift + Left in this case

-------------
Mark Doubson, Ph.D.


Posted By: zaksoft
Date Posted: 19 December 2009 at 11:54am
When 13.2.2 (release) will be available ?
 
TIA


-------------
VS2022 - MFC MBCS Statically linked

XTP 23.1 Static Link

---------------------------------------------------------

Davide Zaccanti - ZakSoft - www.zaksoft.com



Posted By: jimmy
Date Posted: 20 December 2009 at 7:50am
Would be nice to can switch key handling.
if i have only rows without child.
Left / right key is better to navigate on subitems.

  Jimmy



Posted By: jimmy
Date Posted: 21 December 2009 at 7:05am
Hello,

Solution ?
change this

if (pFocusedRow && !pFocusedRow->HasChildren() && !bShiftKey)
to this
if (pFocusedRow && !pFocusedRow->HasChildren() && !pParRow->GetParentRow() && !bShiftKey)


  Jimmy




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net