Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 2105

Summary: DefaultHeight property seems to not work when there're bitmap cells
Product: TeeGrid for Delphi Reporter: pep jorge <pep>
Component: GridAssignee: david berneda <david>
Status: CONFIRMED ---    
Severity: normal    
Priority: ---    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description pep jorge 2018-10-03 04:34:52 EDT
DefaultHeight property seems to not work when there're bitmap cells, i.e :

procedure TFormGridDataset.ComboSourceChange(Sender: TObject);
begin
  case ComboSource.ItemIndex of
    0: TeeGrid1.DataSource:=nil;
    1: begin
        TeeGrid1.DataSource:=ClientDataSet1;
        TeeGrid1.Rows.DefaultHeight := 50;
       end;
    2: begin
        TeeGrid1.DataSource:=ClientDataSet2;
        TeeGrid1.Rows.DefaultHeight := 100;
       end
  else
    TeeGrid1.DataSource:=DataSource1;
  end;

Only works when itemindex = 1 which is clientdataset of customers, the 2 is from animals table which contains a bitmap field.