Changeset 563 for Common/Demo
- Timestamp:
- May 29, 2023, 8:23:09 PM (18 months ago)
- Location:
- Common/Demo
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
Common/Demo/JobProgressView/JobProgressViewDemo.lpi
r513 r563 2 2 <CONFIG> 3 3 <ProjectOptions> 4 <Version Value="1 0"/>4 <Version Value="12"/> 5 5 <PathDelim Value="\"/> 6 6 <General> 7 <Flags> 8 <CompatibilityMode Value="True"/> 9 </Flags> 7 10 <SessionStorage Value="InProjectDir"/> 8 <MainUnit Value="0"/>9 11 <Title Value="JobProgressViewDemo"/> 10 12 <ResourceType Value="res"/> … … 12 14 <Icon Value="0"/> 13 15 </General> 14 <VersionInfo>15 <StringTable ProductVersion=""/>16 </VersionInfo>17 16 <BuildModes Count="2"> 18 17 <Item1 Name="Debug" Default="True"/> … … 59 58 </PublishOptions> 60 59 <RunParams> 61 <local> 62 <FormatVersion Value="1"/> 63 </local> 60 <FormatVersion Value="2"/> 61 <Modes Count="1"> 62 <Mode0 Name="default"/> 63 </Modes> 64 64 </RunParams> 65 65 <RequiredPackages Count="2"> … … 81 81 <IsPartOfProject Value="True"/> 82 82 <ComponentName Value="FormMain"/> 83 <HasResources Value="True"/> 83 84 <ResourceBaseClass Value="Form"/> 84 85 </Unit1> -
Common/Demo/JobProgressView/UFormMain.lfm
r513 r563 1 1 object FormMain: TFormMain 2 2 Left = 501 3 Height = 4803 Height = 576 4 4 Top = 296 5 Width = 7435 Width = 892 6 6 Caption = 'JobProgressView demo' 7 ClientHeight = 4808 ClientWidth = 7439 DesignTimePPI = 1 2010 LCLVersion = ' 1.8.2.0'7 ClientHeight = 576 8 ClientWidth = 892 9 DesignTimePPI = 144 10 LCLVersion = '2.2.6.0' 11 11 object ButtonTest: TButton 12 Left = 4 013 Height = 3 114 Top = 19215 Width = 9412 Left = 48 13 Height = 37 14 Top = 230 15 Width = 113 16 16 Caption = 'Test' 17 17 OnClick = ButtonTestClick … … 19 19 end 20 20 object SpinEditJobCount: TSpinEdit 21 Left = 1 2222 Height = 2823 Top = 1 624 Width = 1 0221 Left = 146 22 Height = 43 23 Top = 19 24 Width = 122 25 25 TabOrder = 1 26 26 Value = 5 27 27 end 28 28 object Label1: TLabel 29 Left = 1 630 Height = 2 031 Top = 1 632 Width = 6729 Left = 19 30 Height = 26 31 Top = 19 32 Width = 85 33 33 Caption = 'Job count:' 34 34 ParentColor = False 35 35 end 36 36 object Label2: TLabel 37 Left = 1 638 Height = 2 039 Top = 4840 Width = 7937 Left = 19 38 Height = 26 39 Top = 58 40 Width = 101 41 41 Caption = 'Show delay:' 42 42 ParentColor = False 43 43 end 44 44 object SpinEditShowDelay: TSpinEdit 45 Left = 1 2246 Height = 2847 Top = 4848 Width = 1 0245 Left = 146 46 Height = 43 47 Top = 58 48 Width = 122 49 49 MaxValue = 1000000 50 50 TabOrder = 2 … … 52 52 end 53 53 object Label3: TLabel 54 Left = 2 3255 Height = 2 056 Top = 4857 Width = 1954 Left = 278 55 Height = 26 56 Top = 58 57 Width = 26 58 58 Caption = 'ms' 59 59 ParentColor = False 60 60 end 61 61 object CheckBoxAutoClose: TCheckBox 62 Left = 1 563 Height = 2464 Top = 8465 Width = 19562 Left = 18 63 Height = 30 64 Top = 101 65 Width = 243 66 66 Caption = 'Auto close on completion' 67 67 Checked = True … … 70 70 end 71 71 object CheckBoxTextProgress: TCheckBox 72 Left = 1 673 Height = 2474 Top = 1 1275 Width = 25972 Left = 19 73 Height = 30 74 Top = 134 75 Width = 329 76 76 Caption = 'Show individual items text progress' 77 77 TabOrder = 4 78 78 end 79 79 object CheckBoxErrors: TCheckBox 80 Left = 1 581 Height = 2482 Top = 1 4483 Width = 23980 Left = 18 81 Height = 30 82 Top = 173 83 Width = 304 84 84 Caption = 'Simulate errors during execution' 85 85 TabOrder = 5 … … 89 89 ShowDelay = 0 90 90 AutoClose = False 91 left = 48092 top = 12091 Left = 576 92 Top = 144 93 93 end 94 94 end -
Common/Demo/JobProgressView/UFormMain.pas
r513 r563 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 9 Spin, UJobProgressView;9 Spin, JobProgressView; 10 10 11 11 type -
Common/Demo/PersistentForm/PersistentFormDemo.lpi
r487 r563 2 2 <CONFIG> 3 3 <ProjectOptions> 4 <Version Value=" 9"/>4 <Version Value="12"/> 5 5 <General> 6 <Flags> 7 <CompatibilityMode Value="True"/> 8 </Flags> 6 9 <SessionStorage Value="InProjectDir"/> 7 <MainUnit Value="0"/>8 10 <Title Value="PersistentFormDemo"/> 9 11 <ResourceType Value="res"/> … … 14 16 <EnableI18N LFM="False"/> 15 17 </i18n> 16 <VersionInfo>17 <StringTable ProductVersion=""/>18 </VersionInfo>19 18 <BuildModes Count="1"> 20 19 <Item1 Name="Default" Default="True"/> … … 24 23 </PublishOptions> 25 24 <RunParams> 26 <local> 27 <FormatVersion Value="1"/> 28 </local> 25 <FormatVersion Value="2"/> 26 <Modes Count="1"> 27 <Mode0 Name="default"/> 28 </Modes> 29 29 </RunParams> 30 30 <RequiredPackages Count="3"> … … 51 51 <HasResources Value="True"/> 52 52 <ResourceBaseClass Value="Form"/> 53 <UnitName Value="Unit1"/>54 53 </Unit1> 55 54 </Units> -
Common/Demo/PersistentForm/Unit1.lfm
r487 r563 1 1 object Form1: TForm1 2 2 Left = 952 3 Height = 6224 Top = 4 895 Width = 6983 Height = 933 4 Top = 449 5 Width = 1047 6 6 Caption = 'PersistentForm demo' 7 ClientHeight = 622 8 ClientWidth = 698 7 ClientHeight = 933 8 ClientWidth = 1047 9 DesignTimePPI = 144 9 10 OnClose = FormClose 10 11 OnResize = FormResize 11 12 OnShow = FormShow 12 LCLVersion = ' 1.5'13 LCLVersion = '2.2.6.0' 13 14 object ListView1: TListView 14 15 Left = 0 15 Height = 62216 Height = 933 16 17 Top = 0 17 Width = 69818 Width = 1047 18 19 Align = alClient 19 20 Columns = < 20 21 item 21 22 Caption = 'Property' 22 Width = 30023 Width = 450 23 24 end 24 25 item 25 26 Caption = 'Value' 26 Width = 38127 Width = 582 27 28 end> 28 29 TabOrder = 0 … … 32 33 MinVisiblePart = 50 33 34 EntireVisible = False 34 left = 11235 top = 7235 Left = 168 36 Top = 108 36 37 end 37 38 object Timer1: TTimer 38 39 OnTimer = Timer1Timer 39 left = 39140 top = 31440 Left = 587 41 Top = 471 41 42 end 42 43 object XMLConfig1: TXMLConfig 43 44 StartEmpty = False 44 45 RootName = 'CONFIG' 45 left = 240 46 top = 217 46 ReadOnly = False 47 Left = 360 48 Top = 326 47 49 end 48 50 end -
Common/Demo/PersistentForm/Unit1.pas
r487 r563 7 7 uses 8 8 Classes, SysUtils, XMLConf, FileUtil, Forms, Controls, Graphics, Dialogs, 9 Buttons, StdCtrls, ExtCtrls, ComCtrls, Menus, XMLPropStorage, UPersistentForm;9 Buttons, StdCtrls, ExtCtrls, ComCtrls, Menus, XMLPropStorage, PersistentForm; 10 10 11 11 type -
Common/Demo/ScaleDPI/ScaleDPI.lpi
r469 r563 2 2 <CONFIG> 3 3 <ProjectOptions> 4 <Version Value=" 9"/>4 <Version Value="12"/> 5 5 <General> 6 <Flags> 7 <CompatibilityMode Value="True"/> 8 </Flags> 6 9 <SessionStorage Value="InProjectDir"/> 7 <MainUnit Value="0"/>8 10 <Title Value="ScaleDPI"/> 9 11 <ResourceType Value="res"/> … … 14 16 <EnableI18N LFM="False"/> 15 17 </i18n> 16 <VersionInfo>17 <StringTable ProductVersion=""/>18 </VersionInfo>19 18 <BuildModes Count="1"> 20 19 <Item1 Name="Default" Default="True"/> … … 24 23 </PublishOptions> 25 24 <RunParams> 26 <local> 27 <FormatVersion Value="1"/> 28 </local> 25 <FormatVersion Value="2"/> 26 <Modes Count="1"> 27 <Mode0 Name="default"/> 28 </Modes> 29 29 </RunParams> 30 30 <RequiredPackages Count="2"> … … 41 41 <Filename Value="ScaleDPI.lpr"/> 42 42 <IsPartOfProject Value="True"/> 43 <UnitName Value="ScaleDPI"/>44 43 </Unit0> 45 44 <Unit1> … … 47 46 <IsPartOfProject Value="True"/> 48 47 <ComponentName Value="Form1"/> 48 <HasResources Value="True"/> 49 49 <ResourceBaseClass Value="Form"/> 50 <UnitName Value="UFormMain"/>51 50 </Unit1> 52 51 <Unit2> … … 54 53 <IsPartOfProject Value="True"/> 55 54 <ComponentName Value="Form2"/> 55 <HasResources Value="True"/> 56 56 <ResourceBaseClass Value="Form"/> 57 <UnitName Value="UFormTest"/>58 57 </Unit2> 59 58 </Units> … … 69 68 </SearchPaths> 70 69 <Linking> 70 <Debugging> 71 <DebugInfoType Value="dsDwarf2Set"/> 72 </Debugging> 71 73 <Options> 72 74 <Win32> -
Common/Demo/ScaleDPI/ScaleDPI.lps
r469 r563 2 2 <CONFIG> 3 3 <ProjectSession> 4 <Version Value=" 9"/>4 <Version Value="12"/> 5 5 <BuildModes Active="Default"/> 6 <Units Count=" 8">6 <Units Count="9"> 7 7 <Unit0> 8 8 <Filename Value="ScaleDPI.lpr"/> 9 9 <IsPartOfProject Value="True"/> 10 <UnitName Value="ScaleDPI"/> 11 <EditorIndex Value="7"/> 10 <EditorIndex Value="3"/> 12 11 <CursorPos X="25" Y="18"/> 13 12 <UsageCount Value="20"/> … … 18 17 <IsPartOfProject Value="True"/> 19 18 <ComponentName Value="Form1"/> 19 <HasResources Value="True"/> 20 20 <ResourceBaseClass Value="Form"/> 21 <UnitName Value="UFormMain"/> 22 <TopLine Value="24"/> 23 <CursorPos X="38" Y="44"/> 21 <TopLine Value="19"/> 22 <CursorPos Y="50"/> 24 23 <UsageCount Value="20"/> 25 24 <Loaded Value="True"/> … … 30 29 <IsPartOfProject Value="True"/> 31 30 <ComponentName Value="Form2"/> 31 <HasResources Value="True"/> 32 32 <ResourceBaseClass Value="Form"/> 33 <UnitName Value="UFormTest"/> 34 <EditorIndex Value="5"/> 33 <EditorIndex Value="2"/> 35 34 <TopLine Value="41"/> 36 35 <CursorPos X="35" Y="75"/> … … 41 40 <Unit3> 42 41 <Filename Value="../../UScaleDPI.pas"/> 43 <UnitName Value="UScaleDPI"/> 44 <IsVisibleTab Value="True"/> 45 <EditorIndex Value="1"/> 42 <EditorIndex Value="-1"/> 46 43 <TopLine Value="165"/> 47 44 <CursorPos X="58" Y="184"/> 48 45 <UsageCount Value="10"/> 49 <Loaded Value="True"/>50 46 </Unit3> 51 47 <Unit4> 52 48 <Filename Value="../../../../../../Others/lazarus/lcl/calendar.pp"/> 53 49 <UnitName Value="Calendar"/> 54 <EditorIndex Value=" 6"/>50 <EditorIndex Value="-1"/> 55 51 <TopLine Value="61"/> 56 52 <CursorPos X="25" Y="88"/> 57 53 <UsageCount Value="10"/> 58 <Loaded Value="True"/>59 54 </Unit4> 60 55 <Unit5> 61 56 <Filename Value="../../../../../../Others/lazarus/lcl/controls.pp"/> 62 57 <UnitName Value="Controls"/> 63 <EditorIndex Value=" 3"/>58 <EditorIndex Value="-1"/> 64 59 <TopLine Value="309"/> 65 60 <CursorPos X="3" Y="329"/> 66 61 <UsageCount Value="10"/> 67 <Loaded Value="True"/>68 62 </Unit5> 69 63 <Unit6> 70 64 <Filename Value="../../../../../../Others/lazarus/lcl/imglist.pp"/> 71 65 <UnitName Value="ImgList"/> 72 <EditorIndex Value=" 4"/>66 <EditorIndex Value="-1"/> 73 67 <TopLine Value="82"/> 74 68 <CursorPos X="18" Y="100"/> 75 69 <UsageCount Value="10"/> 76 <Loaded Value="True"/>77 70 </Unit6> 78 71 <Unit7> 79 72 <Filename Value="../../../../../../Others/lazarus/lcl/comctrls.pp"/> 80 73 <UnitName Value="ComCtrls"/> 81 <EditorIndex Value=" 2"/>74 <EditorIndex Value="-1"/> 82 75 <TopLine Value="2146"/> 83 76 <CursorPos X="14" Y="2165"/> 84 77 <UsageCount Value="10"/> 78 </Unit7> 79 <Unit8> 80 <Filename Value="../../ScaleDPI.pas"/> 81 <IsVisibleTab Value="True"/> 82 <EditorIndex Value="1"/> 83 <CursorPos X="32" Y="19"/> 84 <UsageCount Value="10"/> 85 85 <Loaded Value="True"/> 86 </Unit7> 86 <DefaultSyntaxHighlighter Value="Delphi"/> 87 </Unit8> 87 88 </Units> 88 <JumpHistory Count=" 30" HistoryIndex="29">89 <JumpHistory Count="19" HistoryIndex="18"> 89 90 <Position1> 90 91 <Filename Value="UFormTest.pas"/> … … 124 125 </Position9> 125 126 <Position10> 126 <Filename Value=" ../../UScaleDPI.pas"/>127 <Caret Line="14 1" Column="18" TopLine="110"/>127 <Filename Value="UFormTest.pas"/> 128 <Caret Line="14" Column="95" TopLine="6"/> 128 129 </Position10> 129 130 <Position11> 130 131 <Filename Value="UFormTest.pas"/> 131 <Caret Line=" 14" Column="95" TopLine="6"/>132 <Caret Line="25" Column="27" TopLine="6"/> 132 133 </Position11> 133 134 <Position12> 134 135 <Filename Value="UFormTest.pas"/> 135 <Caret Line="2 5" Column="27" TopLine="6"/>136 <Caret Line="26" Column="27" TopLine="6"/> 136 137 </Position12> 137 138 <Position13> 138 139 <Filename Value="UFormTest.pas"/> 139 <Caret Line=" 26" Column="27" TopLine="6"/>140 <Caret Line="12" Column="101" TopLine="6"/> 140 141 </Position13> 141 142 <Position14> 142 143 <Filename Value="UFormTest.pas"/> 143 <Caret Line="1 2" Column="101" TopLine="6"/>144 <Caret Line="15" Column="94" TopLine="6"/> 144 145 </Position14> 145 146 <Position15> 146 147 <Filename Value="UFormTest.pas"/> 147 <Caret Line=" 15" Column="94" TopLine="6"/>148 <Caret Line="24" Column="53" TopLine="12"/> 148 149 </Position15> 149 150 <Position16> 150 151 <Filename Value="UFormTest.pas"/> 151 <Caret Line="2 4" Column="53" TopLine="12"/>152 <Caret Line="23" Column="96" TopLine="12"/> 152 153 </Position16> 153 154 <Position17> 154 <Filename Value=" ../../../../../../Others/lazarus/lcl/calendar.pp"/>155 <Caret Line=" 105" Column="3" TopLine="85"/>155 <Filename Value="UFormMain.pas"/> 156 <Caret Line="9" Column="3"/> 156 157 </Position17> 157 158 <Position18> 158 <Filename Value=" ../../../../../../Others/lazarus/lcl/calendar.pp"/>159 <Caret Line=" 93" Column="15" TopLine="82"/>159 <Filename Value="UFormMain.pas"/> 160 <Caret Line="47" Column="31" TopLine="19"/> 160 161 </Position18> 161 162 <Position19> 162 <Filename Value=" ../../UScaleDPI.pas"/>163 <Caret Line=" 244" Column="33" TopLine="156"/>163 <Filename Value="UFormMain.pas"/> 164 <Caret Line="31" Column="26" TopLine="19"/> 164 165 </Position19> 165 <Position20>166 <Filename Value="../../../../../../Others/lazarus/lcl/controls.pp"/>167 <Caret Line="2250" Column="3" TopLine="2230"/>168 </Position20>169 <Position21>170 <Filename Value="../../../../../../Others/lazarus/lcl/controls.pp"/>171 <Caret Line="329" Column="3" TopLine="309"/>172 </Position21>173 <Position22>174 <Filename Value="../../UScaleDPI.pas"/>175 <Caret Line="155" Column="24" TopLine="126"/>176 </Position22>177 <Position23>178 <Filename Value="../../UScaleDPI.pas"/>179 <Caret Line="154" Column="3" TopLine="146"/>180 </Position23>181 <Position24>182 <Filename Value="../../UScaleDPI.pas"/>183 <Caret Line="160" Column="22" TopLine="145"/>184 </Position24>185 <Position25>186 <Filename Value="../../UScaleDPI.pas"/>187 <Caret Line="154" TopLine="145"/>188 </Position25>189 <Position26>190 <Filename Value="../../UScaleDPI.pas"/>191 <Caret Line="217" TopLine="197"/>192 </Position26>193 <Position27>194 <Filename Value="../../UScaleDPI.pas"/>195 <Caret Line="218" TopLine="197"/>196 </Position27>197 <Position28>198 <Filename Value="../../UScaleDPI.pas"/>199 <Caret Line="155" TopLine="135"/>200 </Position28>201 <Position29>202 <Filename Value="../../UScaleDPI.pas"/>203 <Caret Line="157" TopLine="135"/>204 </Position29>205 <Position30>206 <Filename Value="UFormTest.pas"/>207 <Caret Line="23" Column="96" TopLine="12"/>208 </Position30>209 166 </JumpHistory> 167 <RunParams> 168 <FormatVersion Value="2"/> 169 <Modes ActiveMode="default"/> 170 </RunParams> 210 171 </ProjectSession> 211 172 </CONFIG> -
Common/Demo/ScaleDPI/UFormMain.lfm
r469 r563 1 1 object Form1: TForm1 2 2 Left = 348 3 Height = 2733 Height = 410 4 4 Top = 527 5 Width = 7795 Width = 1168 6 6 Caption = 'Form1' 7 ClientHeight = 273 8 ClientWidth = 779 7 ClientHeight = 410 8 ClientWidth = 1168 9 DesignTimePPI = 144 9 10 OnCreate = FormCreate 10 11 OnDestroy = FormDestroy 11 12 OnShow = FormShow 12 LCLVersion = ' 1.3'13 LCLVersion = '2.2.6.0' 13 14 object TrackBar1: TTrackBar 14 Left = 2015 Height = 4616 Top = 2117 Width = 73215 Left = 30 16 Height = 87 17 Top = 32 18 Width = 1098 18 19 Max = 200 19 20 Min = 48 … … 23 24 end 24 25 object ScaleDPI1: TScaleDPI 25 left = 216 26 top = 184 26 AutoDetect = False 27 Left = 324 28 Top = 276 27 29 end 28 30 end -
Common/Demo/ScaleDPI/UFormMain.pas
r469 r563 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls, 9 UScaleDPI;9 ScaleDPI; 10 10 11 11 type
Note:
See TracChangeset
for help on using the changeset viewer.