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: 1050
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 15.3.1, new Projects v 18.3.0
Platform: Windows 8.1 (64bit)
Language: VC++ 20
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



This page was generated in 0.078 seconds.