mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 08:59:32 +02:00
* LHelp demo: cosmetic (hourglass cursor)
git-svn-id: trunk@46284 -
This commit is contained in:
parent
4a8c7b8e7c
commit
fe92b2272b
@ -51,9 +51,14 @@ var
|
||||
begin
|
||||
OpenDialog1.InitialDir:=GetCurrentDirUTF8;
|
||||
if not OpenDialog1.Execute then exit;
|
||||
if Help.ServerRunning = false then
|
||||
Help.StartHelpServer(IPCFile, GetLHelpFilename);
|
||||
Res :=Help.OpenFile(OpenDialog1.FileName);
|
||||
Screen.Cursor := crHourGlass;
|
||||
try
|
||||
if Help.ServerRunning = false then
|
||||
Help.StartHelpServer(IPCFile, GetLHelpFilename);
|
||||
Res :=Help.OpenFile(OpenDialog1.FileName);
|
||||
finally
|
||||
Screen.Cursor := crDefault;
|
||||
end;
|
||||
Label1.Caption := ResponseToString(Res);
|
||||
end;
|
||||
|
||||
|
@ -40,7 +40,6 @@
|
||||
<Unit0>
|
||||
<Filename Value="lhelpconnectiondemo1.lpr"/>
|
||||
<IsPartOfProject Value="True"/>
|
||||
<UnitName Value="lhelpconnectiondemo1"/>
|
||||
</Unit0>
|
||||
<Unit1>
|
||||
<Filename Value="helpconnectionunit1.pas"/>
|
||||
@ -74,8 +73,5 @@
|
||||
</Win32>
|
||||
</Options>
|
||||
</Linking>
|
||||
<Other>
|
||||
<CompilerPath Value="$(CompPath)"/>
|
||||
</Other>
|
||||
</CompilerOptions>
|
||||
</CONFIG>
|
||||
|
Loading…
Reference in New Issue
Block a user