|
Create shortcut - Components - Tips & Tricks - Greatis Delphi Pages
This example creates a shortcut for color menu item with a Ctrl+O key combination.
procedure TForm1.Button1Click(Sender: TObject);
begin
Color1.ShortCut:=ShortCut(Word('O'), [ssCtrl]);
end;
- For more
-
Delphi Help
- Download source
|