|  | 
| Cell edit | 
| Post Reply   | 
| Author | |
| ABuenger   Newbie     Joined: 02 February 2006 Status: Offline Points: 1075 |  Post Options  Thanks(0)  Quote  Reply  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
     | |
|  | |
| mgampi   Senior Member     Joined: 14 July 2003 Status: Offline Points: 1210 |  Post Options  Thanks(0)  Quote  Reply  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 | |
|  | |
| ABuenger   Newbie     Joined: 02 February 2006 Status: Offline Points: 1075 |  Post Options  Thanks(0)  Quote  Reply  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
     | |
|  | |
| Post Reply   | |
| Tweet | 
| Forum Jump | Forum Permissions  You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |