Print Page | Close Window

advanced report control question

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=5143
Printed Date: 19 September 2024 at 12:50pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: advanced report control question
Posted By: tobi
Subject: advanced report control question
Date Posted: 25 September 2006 at 2:17pm
Hi, I´m about to implement some kind of grid control with report control.
I have a four column control where the first column contains a description and depending on the row the user can put one to three values in the last three columns.
 
To ease user´s input I´m trying to implement the following function:
 
When the user hits enter the first editable column in the current row gets into edit mode. When the inputs a value and then presses enter, the next editable columns should get into edit mode and so on...
 
When the user edits the last editable column in the row and then hits enter the next row should be selected with the first editable columns in edit mode ...
 
Does anybody implemented such functionality ?
 
Any suggestions are welcome ...
 
Thanks a lot !



Replies:
Posted By: sserge
Date Posted: 03 October 2006 at 10:48am
There are a few members to implement such fuctionality.

You have to use events:
    PreviewKeyDown (or KeyDown)

ReportControl.EditMode property shows whether field editor is active.

Also use
    ReportControl.Navigator
to begin editing and move to next position.


--
WBR,
Serge



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