function TMainWindow.OnAppHelp(Command: Word; Data: Integer; var CallHelp: Boolean): Boolean;
begin
if Data <> 1005 then
LaunchHelp(Data);
CallHelp := False;
Result := False;
end;
At least it does not open two helpfiles anymore and shows same behaviour as before on the other windows.. (i.e. on import/export window F1 works, on scripting window not)
Thanks, that could indeed by a good solution, as the problem occurs for the help command of the main form itself. But instead of 1005 maybe it is better to put Self.HelpContext, in case it is changed