![]() |
CXTPReportControl Edit-In-Place Problems |
Post Reply
|
| Author | |
k_shehadeh
Newbie
Joined: 19 August 2005 Location: United States Status: Offline Points: 10 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPReportControl Edit-In-Place ProblemsPosted: 31 January 2007 at 3:49pm |
|
We found a problem with using CXTPReportControl and edit-in-place in a very specific situation. In our case, we have a report control that is taking advantage of the tree feature. I am allowing the user to add items to the tree and beginning an in-place edit immediately. If there are items in the list already, there's no problem. If the item being added is the first, the edit box "appears" in the header area of the control (pretty much invisible). The user can enter text and hit enter. When he does, the new item updates to reflect the next text.
I've reproduced this problem in the ReportSample sample in codejock distrib. To reproduce, download my altered version here: http://www.iwonderdesigns.com/downloads/ReportSample.zip Then follow these steps: 1) Build and launch 2) Navigate to 'Report Control > Control Test > Tree Properties' 3) In the window that appears, press the 'New' button in the toolbar. A new item will appear - without doing anything else start typing on the keyboard. 4) Hit enter 5) The text changes to reflect the new item. Bulk of the new code is here: CPropertiesFrame::Add() Thanks! Karim |
|
![]() |
|
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 |