Print Page | Close Window

Cell edit

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=17007
Printed Date: 23 November 2024 at 7:21pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Cell edit
Posted By: ABuenger
Subject: Cell edit
Date Posted: 27 July 2010 at 10:55am
Hello,

the Report control has the behaviour to go into edit mode as soon as you click on a cell. I would like to have the cell only selected on the first click and only go into edit mode on the second click or a double click.

How can I change the behaviour?

Thanks



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



Replies:
Posted By: mgampi
Date Posted: 27 July 2010 at 5:08pm
Hi;

Try to  play with these options:

    m_bEditOnClick=m_bEditOnDelayClick=TRUE;
    m_uiDelayEditMaxTime = GetDoubleClickTime() + 150;


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

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022


Posted By: ABuenger
Date Posted: 27 July 2010 at 5:28pm
Thanks.

wndReport.EditOnDelayClick(TRUE); almost does what I want, except that on the second click it takes a while before the cell goes into edit mode.

I wonder what the rationale behind m_uiDelayEditMaxTime is?
Also there is no setter for m_uiDelayEditMaxTime. Could this be added to 14.0?



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



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