![]()  | 
 
Incorrect cursor placement in report | 
 
    Post Reply  
   | 
  
| Author | |
   
   TerryT  
   
   Newbie  
   Joined: 31 August 2006 Status: Offline Points: 12  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Incorrect cursor placement in reportPosted: 19 October 2006 at 12:04am  | 
 
| 
   
    I’ve modeled my code after the sample: “ReportSample” Report Control->Control Test->Task List Sample If no new rows are added during CTaskListView creation (comment out all “wndReport.AddRecord(new CTaskRecord(…” in TaskListView.cpp and a new Task is added, the cursor is not visible Even more of a problem: If a command bar is placed at the top of the view, the report control is moved below it, a new Task places the cursor in the header 
Please advise  | 
 |
![]()  | 
 |
   
   sserge  
   
   Moderator Group  
   Joined: 01 December 2004 Status: Offline Points: 1297  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 22 October 2006 at 4:59pm | 
 
| 
   
    
   open Windows Explorer, open a folder with a single file, press F2 and enter new filename like "aaa". Do not press Enter or something and check whether your cursor is visible... I've found the same effect in this case and I think it's ok in this case... 
   
  -- WBR, Serge  | 
 |
![]()  | 
 |
   
   TerryT  
   
   Newbie  
   Joined: 31 August 2006 Status: Offline Points: 12  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 05 January 2007 at 8:57am | 
 
| 
   
    Hi Serge, Thanks for the response (sorry for my delay in returning) I need to know if the following is a bug or by design: Xtreme Toolkit Pro v10.3 From the “Codejock Report Control Sample” application: Immediately begin typing: Select “Edit->Add Task” I would have expected the “GetReportCtrl().EditItem(&itemArgs);” to immediately have focus and cursor visible after the first “Add Task” Thank you!  | 
 |
![]()  | 
 |
   
   sserge  
   
   Moderator Group  
   Joined: 01 December 2004 Status: Offline Points: 1297  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 08 January 2007 at 4:29pm | 
 
| 
   
    
   Hi Terry, 
   
  Looks like this bug was fixed in later versions. Currently it works for me just fine :) -- WBR, Serge  | 
 |
![]()  | 
 |
   
   TerryT  
   
   Newbie  
   Joined: 31 August 2006 Status: Offline Points: 12  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 14 February 2007 at 9:00am | 
 
| 
   
    Hi Serge, I added "UpdateWindow()" after the Populate() to your (modified) sample, and now is behaving void CTaskListView::OnAddTask()  | 
 |
![]()  | 
 |
    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  |