Print Page | Close Window

HOWTO: Expand/collapse records using keyboard

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=18205
Printed Date: 12 May 2024 at 3:51pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: HOWTO: Expand/collapse records using keyboard
Posted By: mgampi
Subject: HOWTO: Expand/collapse records using keyboard
Date Posted: 11 April 2011 at 4:55pm
Hi;

Am I wrong or does the report control not support the keyboard for expanding / collapsing tree-like records?
Where do I have to start from to implement this feature if it's actually not supported?
Will this be supported in next 15.0.3 release?


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



Replies:
Posted By: ABuenger
Date Posted: 11 April 2011 at 6:17pm
Hi,

please check the tree view dialog in the report sample. You can use the left, right, plus and minus key to collapse and expand the rows.



uploads/1755/ReportSample_18205.zip - uploads/1755/ReportSample_18205.zip



-------------
Codejock support


Posted By: mgampi
Date Posted: 11 April 2011 at 6:35pm
Originally posted by ABuenger ABuenger wrote:

Hi,
please check the tree view dialog in the report sample. You can use the left, right, plus and minus key to collapse and expand the rows.

Ok, ABuenger;

Select the first row (click with mouse) then press the right arrow key until the 9th row is selected. Now press the left arrow key once.
From now on the navigation with arrow keys (left/right/up/down) is frozen until another row is selected by mouse.
And in my case I have 3 columns (first and third column is neither editable nor fousable). In this case the keyboard navigation does not work (I can't navigate with left/right arrow keys).

Update: As soon as I call FocusSubItems(TRUE) and the whole row has no focusable item, the navigation stops working.
In my case all parent records have no focusable items.


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017


Posted By: ABuenger
Date Posted: 11 April 2011 at 7:50pm
Confirmed. Will be fixed tomorrow.



-------------
Codejock support


Posted By: ABuenger
Date Posted: 13 April 2011 at 8:50pm
Fixed and updated sample:

uploads/1755/ReportSample_18205_2.zip - uploads/1755/ReportSample_18205_2.zip


-------------
Codejock support


Posted By: mgampi
Date Posted: 14 April 2011 at 12:48am
Hi Andre;

Could I get updated source? I've allready opened an issue #26476.


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017


Posted By: ABuenger
Date Posted: 14 April 2011 at 3:33pm
Originally posted by mgampi mgampi wrote:

Hi Andre;

Could I get updated source? I've allready opened an issue #26476.


I'll add the text indent property and then attach the updated source to the issue.

Andre



-------------
Codejock support


Posted By: mgampi
Date Posted: 14 April 2011 at 4:04pm
Thanks, Andre!


-------------
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017



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