Frequently Asked Component Specific Questions

Options

Display all FAQ items

Search FAQ items:


Displaying items 1 to 1 of 1, page 1 of 1

<< previous next >>

TAdvStringGrid
How to set the dropdown width

You can set the width of the dropdown with:
grid.DropDownControlName.DropDownWidth
Example for memo dropdown:
procedure TForm4.FormCreate(Sender: TObject); 
begin
  advstringgrid1.DefaultEditor := edMemoDropDown;
  advstringgrid1.Options := advstringgrid1.Options + [goEditing];
  advstringgrid1.MemoDropDown.DropDownWidth := 400; 
end;