turbopower: examples: session info, fixed filenames

git-svn-id: trunk@21449 -
This commit is contained in:
mattias 2009-08-26 03:13:51 +00:00
parent fcf2e7f4fb
commit 47b2237b69
4 changed files with 22 additions and 120 deletions

View File

@ -302,7 +302,7 @@ begin
FactBAParag := 0.5;
C_GoBackward := SB_GoBackward;
C_GoForward := SB_GoForward;
OpenHTMLFile ('Index.html', True, False);
OpenHTMLFile ('index.html', True, False);
end;
end {FormCreate};

View File

@ -2,17 +2,18 @@
<CONFIG>
<ProjectOptions>
<PathDelim Value="\"/>
<Version Value="6"/>
<Version Value="7"/>
<General>
<Flags>
<LRSInOutputDirectory Value="False"/>
</Flags>
<SessionStorage Value="InIDEConfig"/>
<MainUnit Value="0"/>
<IconPath Value="./"/>
<TargetFileExt Value=".exe"/>
<Title Value="HtmFileExplorer1"/>
</General>
<VersionInfo>
<ProjectVersion Value=""/>
<Language Value=""/>
<CharSet Value=""/>
</VersionInfo>
<PublishOptions>
<Version Value="2"/>
@ -23,7 +24,7 @@
<RunParams>
<local>
<FormatVersion Value="1"/>
<LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
<LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T 'Lazarus Run Output' -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
</local>
</RunParams>
<RequiredPackages Count="2">
@ -36,40 +37,20 @@
<MinVersion Major="1" Valid="True"/>
</Item2>
</RequiredPackages>
<Units Count="4">
<Units Count="2">
<Unit0>
<Filename Value="htmfileexplorer1.lpr"/>
<IsPartOfProject Value="True"/>
<CursorPos X="18" Y="8"/>
<TopLine Value="1"/>
<UsageCount Value="20"/>
</Unit0>
<Unit1>
<Filename Value="htmfileexp1.pas"/>
<IsPartOfProject Value="True"/>
<ComponentName Value="FHtmFileExp1"/>
<HasResources Value="True"/>
<ResourceBaseClass Value="Form"/>
<ResourceFilename Value="htmfileexp1.lrs"/>
<UnitName Value="HtmFileExp1"/>
<CursorPos X="19" Y="286"/>
<TopLine Value="254"/>
<UsageCount Value="10"/>
</Unit1>
<Unit2>
<Filename Value="..\..\..\lcl\include\graphic.inc"/>
<CursorPos X="48" Y="255"/>
<TopLine Value="235"/>
<UsageCount Value="10"/>
</Unit2>
<Unit3>
<Filename Value="..\iphtml.pas"/>
<UnitName Value="IpHtml"/>
<CursorPos X="1" Y="1"/>
<TopLine Value="1"/>
<UsageCount Value="10"/>
</Unit3>
</Units>
<JumpHistory Count="0" HistoryIndex="-1"/>
</ProjectOptions>
<CompilerOptions>
<Version Value="8"/>
@ -89,14 +70,4 @@
<CompilerPath Value="$(CompPath)"/>
</Other>
</CompilerOptions>
<Debugging>
<Exceptions Count="2">
<Item1>
<Name Value="ECodetoolError"/>
</Item1>
<Item2>
<Name Value="EFOpenError"/>
</Item2>
</Exceptions>
</Debugging>
</CONFIG>

View File

@ -2,18 +2,18 @@
<CONFIG>
<ProjectOptions>
<PathDelim Value="\"/>
<Version Value="6"/>
<Version Value="7"/>
<General>
<Flags>
<LRSInOutputDirectory Value="False"/>
</Flags>
<SessionStorage Value="InIDEConfig"/>
<MainUnit Value="0"/>
<IconPath Value="./"/>
<TargetFileExt Value=".exe"/>
<Title Value="HtmFileExplorer2"/>
<ActiveEditorIndexAtStart Value="1"/>
</General>
<VersionInfo>
<ProjectVersion Value=""/>
<Language Value=""/>
<CharSet Value=""/>
</VersionInfo>
<PublishOptions>
<Version Value="2"/>
@ -24,7 +24,7 @@
<RunParams>
<local>
<FormatVersion Value="1"/>
<LaunchingApplication PathPlusParams="/usr/X11R6/bin/xterm -T 'Lazarus Run Output' -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)"/>
<LaunchingApplication PathPlusParams="\usr\X11R6\bin\xterm -T 'Lazarus Run Output' -e $(LazarusDir)\tools\runwait.sh $(TargetCmdLine)"/>
</local>
</RunParams>
<RequiredPackages Count="2">
@ -37,68 +37,20 @@
<MinVersion Major="1" Valid="True"/>
</Item2>
</RequiredPackages>
<Units Count="4">
<Units Count="2">
<Unit0>
<Filename Value="htmfileexplorer2.lpr"/>
<IsPartOfProject Value="True"/>
<CursorPos X="19" Y="5"/>
<TopLine Value="1"/>
<UsageCount Value="23"/>
</Unit0>
<Unit1>
<Filename Value="htmfileexp2.pas"/>
<IsPartOfProject Value="True"/>
<ComponentName Value="FHtmFileExp2"/>
<HasResources Value="True"/>
<ResourceBaseClass Value="Form"/>
<ResourceFilename Value="htmfileexp2.lrs"/>
<UnitName Value="HtmFileExp2"/>
<CursorPos X="42" Y="11"/>
<TopLine Value="1"/>
<EditorIndex Value="1"/>
<UsageCount Value="11"/>
<Loaded Value="True"/>
</Unit1>
<Unit2>
<Filename Value="htmfileexplorer1.lpr"/>
<UnitName Value="HtmFileExplorer1"/>
<CursorPos X="15" Y="8"/>
<TopLine Value="1"/>
<EditorIndex Value="0"/>
<UsageCount Value="10"/>
<Loaded Value="True"/>
</Unit2>
<Unit3>
<Filename Value="htmfileexp1.pas"/>
<ComponentName Value="FHtmFileExp1"/>
<HasResources Value="True"/>
<ResourceBaseClass Value="Form"/>
<ResourceFilename Value="htmfileexp1.lrs"/>
<UnitName Value="HtmFileExp1"/>
<CursorPos X="1" Y="1"/>
<TopLine Value="11"/>
<EditorIndex Value="2"/>
<UsageCount Value="10"/>
<Loaded Value="True"/>
</Unit3>
</Units>
<JumpHistory Count="4" HistoryIndex="3">
<Position1>
<Filename Value="htmfileexplorer1.lpr"/>
<Caret Line="8" Column="15" TopLine="1"/>
</Position1>
<Position2>
<Filename Value="htmfileexp2.pas"/>
<Caret Line="249" Column="12" TopLine="242"/>
</Position2>
<Position3>
<Filename Value="htmfileexp2.pas"/>
<Caret Line="15" Column="1" TopLine="1"/>
</Position3>
<Position4>
<Filename Value="htmfileexp2.pas"/>
<Caret Line="134" Column="39" TopLine="115"/>
</Position4>
</JumpHistory>
</ProjectOptions>
<CompilerOptions>
<Version Value="8"/>
@ -118,20 +70,4 @@
<CompilerPath Value="$(CompPath)"/>
</Other>
</CompilerOptions>
<Debugging>
<BreakPoints Count="1">
<Item1>
<Source Value="htmfileexp2.pas"/>
<Line Value="60"/>
</Item1>
</BreakPoints>
<Exceptions Count="2">
<Item1>
<Name Value="ECodetoolError"/>
</Item1>
<Item2>
<Name Value="EFOpenError"/>
</Item2>
</Exceptions>
</Debugging>
</CONFIG>

View File

@ -8,19 +8,14 @@
<body>
<p>Lazarus example for IPro HTML control.<br>
<br>
Image ../../docs/images/cheetah1.png
Image ../../../docs/images/laztitle.png
<br>
<img src="../../docs/images/cheetah1.png" title="" alt="cheetah.png image"
style="width: 250px; height: 188px;"><br>
<img src="../../../docs/images/laztitle.png" title="" alt="laztitle.png image"
style="width: 740px; height: 100px;"><br>
<br>
Image ../../docs/images/laztitle.jpg
Image ../../docs/images/doesnotexist.jpg
<br>
<img src="../../docs/images/laztitle.jpg" title="" alt="laztitle.jpg image"
style="width: 250px; height: 188px;"><br>
<br>
Image broken
<br>
<img src="../../docs/images/cheetah2.png" title="" alt="cheetah.png image"
<img src="../../docs/images/doesnotexist.jpg" title="" alt="doesnotexist.jpg image"
style="width: 250px; height: 188px;"><br>
<br>
<a href="simplepage2.html">Link</a> (to simplepage2.html)</p>