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
I want to override the popup menu of the default grid inplace editor

You can assign a custom popup menu to the default grid inplace editor with following code:
procedure TForm2.AdvStringGrid1GetEditText(Sender: TObject; ACol, ARow: Integer;
  var Value: string);
begin
  AdvStringGrid.NormalEdit.PopupMenu :=PopupMenu1;
end;