Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Cell edit
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Cell edit

 Post Reply Post Reply
Author
Message
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Topic: Cell edit
    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
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1201
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.154 seconds.