mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-10 01:59:53 +02:00
htmlhelp: shortcut
git-svn-id: trunk@37980 -
This commit is contained in:
parent
691d97a22f
commit
40f74104a7
@ -87,12 +87,16 @@ begin
|
||||
end;
|
||||
|
||||
procedure TForm1.FormCreate(Sender: TObject);
|
||||
const
|
||||
{$IFDEF Darwin}
|
||||
HelpShortcut = #$e2#$8c#$98'?';
|
||||
{$ELSE}
|
||||
HelpShortcut = 'F1'';
|
||||
{$ENDIF}
|
||||
begin
|
||||
HTMLHelpDatabase1.BaseURL:='file://html';
|
||||
{$ifdef darwin}
|
||||
Edit1.Text:='Edit1 - Press '+#$e2#$8c#$98'?'+' for help';
|
||||
Edit2.Text:='Edit2 - Press '+#$e2#$8c#$98'?'+' for help';
|
||||
{$endif}
|
||||
Edit1.Text:='Edit1 - Press '+HelpShortcut+' for help';
|
||||
Edit2.Text:='Edit2 - Press '+HelpShortcut+' for help';
|
||||
end;
|
||||
|
||||
{$R *.lfm}
|
||||
|
Loading…
Reference in New Issue
Block a user