Changeset 54 for Docking/CoolDocking/Demo
- Timestamp:
- Sep 20, 2010, 9:22:02 AM (14 years ago)
- Location:
- Docking/CoolDocking/Demo
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Demo/Demo.lpi
r51 r54 29 29 <RequiredPackages Count="2"> 30 30 <Item1> 31 <PackageName Value="C ustomDockManager"/>31 <PackageName Value="CoolDocking"/> 32 32 </Item1> 33 33 <Item2> … … 35 35 </Item2> 36 36 </RequiredPackages> 37 <Units Count="3 3">37 <Units Count="34"> 38 38 <Unit0> 39 39 <Filename Value="Demo.lpr"/> 40 40 <IsPartOfProject Value="True"/> 41 41 <UnitName Value="Demo"/> 42 <EditorIndex Value="6"/>43 42 <WindowIndex Value="0"/> 44 43 <TopLine Value="1"/> 45 44 <CursorPos X="7" Y="3"/> 46 45 <UsageCount Value="39"/> 47 <Loaded Value="True"/>48 46 <DefaultSyntaxHighlighter Value="Delphi"/> 49 47 </Unit0> … … 56 54 <EditorIndex Value="0"/> 57 55 <WindowIndex Value="0"/> 58 <TopLine Value=" 2"/>59 <CursorPos X=" 53" Y="8"/>56 <TopLine Value="50"/> 57 <CursorPos X="61" Y="51"/> 60 58 <UsageCount Value="39"/> 61 59 <Loaded Value="True"/> … … 72 70 </Unit2> 73 71 <Unit3> 74 <Filename Value="UC ustomDockManager.pas"/>75 <UnitName Value="UC ustomDockManager"/>72 <Filename Value="UCoolDockManager.pas"/> 73 <UnitName Value="UCoolDockManager"/> 76 74 <WindowIndex Value="0"/> 77 75 <TopLine Value="98"/> … … 89 87 <Unit5> 90 88 <Filename Value="E:\Programy\Lazarus\lcl\include\wincontrol.inc"/> 91 <EditorIndex Value="4"/>92 89 <WindowIndex Value="0"/> 93 90 <TopLine Value="6343"/> 94 91 <CursorPos X="1" Y="6359"/> 95 92 <UsageCount Value="18"/> 96 <Loaded Value="True"/>97 93 </Unit5> 98 94 <Unit6> … … 129 125 <Filename Value="E:\Programy\Lazarus\lcl\lclproc.pas"/> 130 126 <UnitName Value="LCLProc"/> 131 <EditorIndex Value="3"/>132 127 <WindowIndex Value="0"/> 133 128 <TopLine Value="1330"/> 134 129 <CursorPos X="1" Y="1346"/> 135 130 <UsageCount Value="10"/> 136 <Loaded Value="True"/>137 131 </Unit10> 138 132 <Unit11> … … 172 166 <ResourceBaseClass Value="Form"/> 173 167 <UnitName Value="UDockForm"/> 174 <EditorIndex Value="9"/>175 168 <WindowIndex Value="0"/> 176 169 <TopLine Value="1"/> 177 170 <CursorPos X="47" Y="8"/> 178 171 <UsageCount Value="38"/> 179 <Loaded Value="True"/>180 <LoadedDesigner Value="True"/>181 172 <DefaultSyntaxHighlighter Value="Delphi"/> 182 173 </Unit15> … … 200 191 <Filename Value="E:\Projekty jine\Lazarus\examples\anchordocking\anchordocking.pas"/> 201 192 <UnitName Value="AnchorDocking"/> 202 <EditorIndex Value="8"/>203 193 <WindowIndex Value="0"/> 204 194 <TopLine Value="4756"/> 205 195 <CursorPos X="5" Y="4763"/> 206 196 <UsageCount Value="19"/> 207 <Loaded Value="True"/>208 197 <DefaultSyntaxHighlighter Value="Delphi"/> 209 198 </Unit18> … … 217 206 </Unit19> 218 207 <Unit20> 219 <Filename Value="..\UCustomDockManager.pas"/> 220 <UnitName Value="UCustomDockManager"/> 221 <EditorIndex Value="1"/> 208 <Filename Value="..\UCoolDockManager.pas"/> 209 <UnitName Value="UCoolDockManager"/> 222 210 <WindowIndex Value="0"/> 223 211 <TopLine Value="702"/> 224 212 <CursorPos X="10" Y="719"/> 225 213 <UsageCount Value="33"/> 226 <Loaded Value="True"/>227 214 <DefaultSyntaxHighlighter Value="Delphi"/> 228 215 </Unit20> … … 284 271 <Filename Value="E:\Programy\Lazarus\lcl\themes.pas"/> 285 272 <UnitName Value="Themes"/> 286 <IsVisibleTab Value="True"/>287 <EditorIndex Value="2"/>288 273 <WindowIndex Value="0"/> 289 274 <TopLine Value="550"/> 290 275 <CursorPos X="1" Y="556"/> 291 276 <UsageCount Value="13"/> 292 <Loaded Value="True"/>293 277 </Unit28> 294 278 <Unit29> … … 303 287 <Filename Value="..\..\..\ExceptionLogger\UExceptionLogger.pas"/> 304 288 <UnitName Value="UExceptionLogger"/> 305 <EditorIndex Value="7"/>306 289 <WindowIndex Value="0"/> 307 290 <TopLine Value="49"/> 308 291 <CursorPos X="1" Y="56"/> 309 292 <UsageCount Value="12"/> 310 <Loaded Value="True"/>311 293 <DefaultSyntaxHighlighter Value="Delphi"/> 312 294 </Unit30> … … 322 304 <Filename Value="E:\Programy\Lazarus\lcl\interfaces\win32\win32wsforms.pp"/> 323 305 <UnitName Value="Win32WSForms"/> 324 <EditorIndex Value="5"/>325 306 <WindowIndex Value="0"/> 326 307 <TopLine Value="341"/> 327 308 <CursorPos X="1" Y="354"/> 328 309 <UsageCount Value="10"/> 310 </Unit32> 311 <Unit33> 312 <Filename Value="..\UCoolDocking.pas"/> 313 <UnitName Value="UCoolDocking"/> 314 <IsVisibleTab Value="True"/> 315 <EditorIndex Value="1"/> 316 <WindowIndex Value="0"/> 317 <TopLine Value="334"/> 318 <CursorPos X="15" Y="354"/> 319 <UsageCount Value="10"/> 329 320 <Loaded Value="True"/> 330 </Unit32> 321 <DefaultSyntaxHighlighter Value="Delphi"/> 322 </Unit33> 331 323 </Units> 332 <JumpHistory Count="2 8" HistoryIndex="27">324 <JumpHistory Count="2" HistoryIndex="0"> 333 325 <Position1> 334 <Filename Value="..\UC ustomDockManager.pas"/>335 <Caret Line=" 273" Column="1" TopLine="267"/>326 <Filename Value="..\UCoolDocking.pas"/> 327 <Caret Line="91" Column="26" TopLine="86"/> 336 328 </Position1> 337 329 <Position2> 338 <Filename Value="..\UC ustomDockManager.pas"/>339 <Caret Line=" 274" Column="1" TopLine="267"/>330 <Filename Value="..\UCoolDocking.pas"/> 331 <Caret Line="531" Column="1" TopLine="514"/> 340 332 </Position2> 341 <Position3>342 <Filename Value="..\UCustomDockManager.pas"/>343 <Caret Line="275" Column="1" TopLine="267"/>344 </Position3>345 <Position4>346 <Filename Value="..\UCustomDockManager.pas"/>347 <Caret Line="272" Column="1" TopLine="267"/>348 </Position4>349 <Position5>350 <Filename Value="..\UCustomDockManager.pas"/>351 <Caret Line="273" Column="1" TopLine="267"/>352 </Position5>353 <Position6>354 <Filename Value="..\UCustomDockManager.pas"/>355 <Caret Line="274" Column="1" TopLine="267"/>356 </Position6>357 <Position7>358 <Filename Value="..\UCustomDockManager.pas"/>359 <Caret Line="275" Column="1" TopLine="267"/>360 </Position7>361 <Position8>362 <Filename Value="..\UCustomDockManager.pas"/>363 <Caret Line="272" Column="1" TopLine="267"/>364 </Position8>365 <Position9>366 <Filename Value="..\UCustomDockManager.pas"/>367 <Caret Line="273" Column="1" TopLine="267"/>368 </Position9>369 <Position10>370 <Filename Value="..\UCustomDockManager.pas"/>371 <Caret Line="274" Column="1" TopLine="267"/>372 </Position10>373 <Position11>374 <Filename Value="..\UCustomDockManager.pas"/>375 <Caret Line="275" Column="1" TopLine="267"/>376 </Position11>377 <Position12>378 <Filename Value="..\UCustomDockManager.pas"/>379 <Caret Line="272" Column="1" TopLine="267"/>380 </Position12>381 <Position13>382 <Filename Value="..\UCustomDockManager.pas"/>383 <Caret Line="273" Column="1" TopLine="267"/>384 </Position13>385 <Position14>386 <Filename Value="..\UCustomDockManager.pas"/>387 <Caret Line="274" Column="1" TopLine="267"/>388 </Position14>389 <Position15>390 <Filename Value="..\UCustomDockManager.pas"/>391 <Caret Line="275" Column="1" TopLine="267"/>392 </Position15>393 <Position16>394 <Filename Value="..\UCustomDockManager.pas"/>395 <Caret Line="272" Column="1" TopLine="267"/>396 </Position16>397 <Position17>398 <Filename Value="..\UCustomDockManager.pas"/>399 <Caret Line="273" Column="1" TopLine="267"/>400 </Position17>401 <Position18>402 <Filename Value="..\UCustomDockManager.pas"/>403 <Caret Line="274" Column="1" TopLine="267"/>404 </Position18>405 <Position19>406 <Filename Value="..\UCustomDockManager.pas"/>407 <Caret Line="275" Column="1" TopLine="267"/>408 </Position19>409 <Position20>410 <Filename Value="..\UCustomDockManager.pas"/>411 <Caret Line="272" Column="1" TopLine="267"/>412 </Position20>413 <Position21>414 <Filename Value="..\UCustomDockManager.pas"/>415 <Caret Line="273" Column="1" TopLine="267"/>416 </Position21>417 <Position22>418 <Filename Value="..\UCustomDockManager.pas"/>419 <Caret Line="274" Column="1" TopLine="267"/>420 </Position22>421 <Position23>422 <Filename Value="..\UCustomDockManager.pas"/>423 <Caret Line="272" Column="1" TopLine="267"/>424 </Position23>425 <Position24>426 <Filename Value="E:\Programy\Lazarus\lcl\interfaces\win32\win32wsforms.pp"/>427 <Caret Line="354" Column="1" TopLine="341"/>428 </Position24>429 <Position25>430 <Filename Value="..\UCustomDockManager.pas"/>431 <Caret Line="5" Column="21" TopLine="1"/>432 </Position25>433 <Position26>434 <Filename Value="..\UCustomDockManager.pas"/>435 <Caret Line="6" Column="60" TopLine="1"/>436 </Position26>437 <Position27>438 <Filename Value="..\UCustomDockManager.pas"/>439 <Caret Line="66" Column="33" TopLine="53"/>440 </Position27>441 <Position28>442 <Filename Value="..\UCustomDockManager.pas"/>443 <Caret Line="719" Column="10" TopLine="702"/>444 </Position28>445 333 </JumpHistory> 446 334 </ProjectOptions> -
Docking/CoolDocking/Demo/Demo.lpr
r48 r54 8 8 {$ENDIF}{$ENDIF} 9 9 Interfaces, // this includes the LCL widgetset 10 Forms, UMainForm, UDockForm, C ustomDockManager;10 Forms, UMainForm, UDockForm, CoolDocking; 11 11 12 12 {$R *.res} -
Docking/CoolDocking/Demo/UMainForm.lfm
r50 r54 30 30 TabOrder = 1 31 31 end 32 object C ustomDockMaster1: TCustomDockMaster32 object CoolDockMaster1: TCoolDockMaster 33 33 TabsEnabled = False 34 34 DefaultHeaderPos = hpAuto -
Docking/CoolDocking/Demo/UMainForm.pas
r50 r54 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, 9 ComCtrls, ExtCtrls, Buttons, Menus, UC ustomDockManager, UDockForm;9 ComCtrls, ExtCtrls, Buttons, Menus, UCoolDocking, UDockForm; 10 10 11 11 type … … 15 15 TMainForm = class(TForm) 16 16 Button1: TButton; 17 C ustomDockMaster1: TCustomDockMaster;17 CoolDockMaster1: TCoolDockMaster; 18 18 Panel1: TPanel; 19 19 procedure Button1Click(Sender: TObject); … … 50 50 procedure TMainForm.FormShow(Sender: TObject); 51 51 var 52 ConjoinedDockForm1: TCo njoinDockForm;53 ConjoinedDockForm2: TCo njoinDockForm;52 ConjoinedDockForm1: TCoolDockConjoinForm; 53 ConjoinedDockForm2: TCoolDockConjoinForm; 54 54 begin 55 55 NewDockForm.ManualDock(Panel1); 56 56 // NewDockForm.ManualDock(Panel1, nil, a); 57 ConjoinedDockForm1 := TC ustomDockManager(Panel1.DockManager).CreateContainer(alRight);57 ConjoinedDockForm1 := TCoolDockManager(Panel1.DockManager).CreateContainer(alRight); 58 58 ConjoinedDockForm1.Name := 'Model';; 59 TC ustomDockManager(ConjoinedDockForm1.Panel.DockManager).TabsPos := hpLeft;59 TCoolDockManager(ConjoinedDockForm1.Panel.DockManager).TabsPos := hpLeft; 60 60 //ConjoinedDockForm1.ManualDock(Panel1); 61 TC ustomDockManager(ConjoinedDockForm1.Panel.DockManager).DockStyle := dsTabs;61 TCoolDockManager(ConjoinedDockForm1.Panel.DockManager).DockStyle := dsTabs; 62 62 NewDockForm.ManualDock(ConjoinedDockForm1.Panel); 63 63 NewDockForm.ManualDock(ConjoinedDockForm1.Panel);
Note:
See TracChangeset
for help on using the changeset viewer.