RxFPC:fix show collumn width in RxDBGrid columns form
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7617 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
		
							parent
							
								
									94f88fbfcf
								
							
						
					
					
						commit
						64f6cdb82e
					
				@ -199,10 +199,10 @@ begin
 | 
			
		||||
 | 
			
		||||
      StringGrid1.Cells[0, i + 1]:=BoolToStr(C.Visible, '1', '0');
 | 
			
		||||
      StringGrid1.Cells[1, i + 1]:=C.Title.Caption;
 | 
			
		||||
      if C.Width = 0 then
 | 
			
		||||
      if C.StoredWidth = 0 then
 | 
			
		||||
        StringGrid1.Cells[2, i + 1]:=IntToStr(AGrid.DefaultColWidth)
 | 
			
		||||
      else
 | 
			
		||||
        StringGrid1.Cells[2, i + 1]:=IntToStr(C.Width);
 | 
			
		||||
        StringGrid1.Cells[2, i + 1]:=IntToStr(C.StoredWidth);
 | 
			
		||||
    end;
 | 
			
		||||
  end
 | 
			
		||||
  else
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user