![]()  | 
 
Row Height | 
 
    Post Reply  
   | 
  
| Author | |
   
   parkersoft  
   
   Newbie  
   Joined: 31 March 2008 Status: Offline Points: 11  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Row HeightPosted: 13 July 2017 at 12:02pm  | 
 
| 
   
    
   Hi, 
   
  I am using 17.3 How do i set the height of rows in the report control? I have used .SetCustomDraw xtpCustomMeasureRow and then set Height = x in the MeasureRow event. This works on initial load but the rows then revert to default height whenever the report control loses focus. This did not happen on 17.2 Thanks  | 
 |
![]()  | 
 |
   
   olebed  
   
   Senior Member  
   Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 17 July 2017 at 7:15am | 
 
| 
   
    
   Hello, 
   
   
  I can't reproduce issue. I have checked this with C#.NET\ReportSample in sub sample frmTreeView.cs I have added 
 Can you provide sample application where I can see this issue ? Regards, Oleksandr Lebed  | 
 |
![]()  | 
 |
   
   parkersoft  
   
   Newbie  
   Joined: 31 March 2008 Status: Offline Points: 11  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 17 July 2017 at 7:31am | 
 
| 
   
    
   In the Samples/ReportControl/VB/ReportSample project 
   
  frmMain.Load Add: wndReportControl.SetCustomDraw xtpCustomMeasureRow and in the MeasureRow event add: Height=40 comment out: wndReportControl.SetCustomDraw xtpCustomBeforeDrawRow Then place any other control on the form that can get focus. Run the project and tab to the other control. The rows will change size. Thanks 
    | 
 |
![]()  | 
 |
   
   olebed  
   
   Senior Member  
   Joined: 01 July 2014 Location: Ukraine Status: Offline Points: 841  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 17 July 2017 at 8:04am | 
 
| 
   
    
   unfortunately  I can't reproduce. Have you tried v18.0 beta ?
 
   
  Are you sure that there are not any other changes in ReportSample ?  | 
 |
![]()  | 
 |
    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  |