Frequently Asked Component Specific Questions
Options |
Display all FAQ items |
Displaying items 1 to 1 of 1, page 1 of 1
<< previous next >>
TAdvStringGrid
How to set the dropdown width
How to set the dropdown width
You can set the width of the dropdown with:
grid.DropDownControlName.DropDownWidth
procedure TForm4.FormCreate(Sender: TObject); begin advstringgrid1.DefaultEditor := edMemoDropDown; advstringgrid1.Options := advstringgrid1.Options + [goEditing]; advstringgrid1.MemoDropDown.DropDownWidth := 400; end;