- Timestamp:
- Sep 24, 2010, 7:46:17 AM (14 years ago)
- Location:
- Docking/CoolDocking
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Demo/Demo.lpi
r58 r59 35 35 </Item2> 36 36 </RequiredPackages> 37 <Units Count="4 4">37 <Units Count="45"> 38 38 <Unit0> 39 39 <Filename Value="Demo.lpr"/> … … 44 44 <TopLine Value="1"/> 45 45 <CursorPos X="25" Y="8"/> 46 <UsageCount Value=" 82"/>46 <UsageCount Value="122"/> 47 47 <Loaded Value="True"/> 48 48 <DefaultSyntaxHighlighter Value="Delphi"/> … … 54 54 <ResourceBaseClass Value="Form"/> 55 55 <UnitName Value="UMainForm"/> 56 <EditorIndex Value=" 7"/>57 <WindowIndex Value="0"/> 58 <TopLine Value="5 1"/>59 <CursorPos X=" 38" Y="64"/>60 <UsageCount Value=" 82"/>56 <EditorIndex Value="5"/> 57 <WindowIndex Value="0"/> 58 <TopLine Value="54"/> 59 <CursorPos X="1" Y="74"/> 60 <UsageCount Value="122"/> 61 61 <Loaded Value="True"/> 62 62 <LoadedDesigner Value="True"/> … … 66 66 <Filename Value="E:\Programy\Lazarus\lcl\controls.pp"/> 67 67 <UnitName Value="Controls"/> 68 <EditorIndex Value=" 10"/>68 <EditorIndex Value="8"/> 69 69 <WindowIndex Value="0"/> 70 70 <TopLine Value="1673"/> 71 <CursorPos X=" 15" Y="1686"/>72 <UsageCount Value=" 40"/>71 <CursorPos X="29" Y="1685"/> 72 <UsageCount Value="59"/> 73 73 <Loaded Value="True"/> 74 74 </Unit2> … … 79 79 <TopLine Value="98"/> 80 80 <CursorPos X="27" Y="110"/> 81 <UsageCount Value=" 20"/>81 <UsageCount Value="16"/> 82 82 <DefaultSyntaxHighlighter Value="Delphi"/> 83 83 </Unit3> 84 84 <Unit4> 85 85 <Filename Value="E:\Programy\Lazarus\lcl\include\control.inc"/> 86 <WindowIndex Value="0"/> 87 <TopLine Value="1325"/> 88 <CursorPos X="20" Y="1335"/> 89 <UsageCount Value="36"/> 86 <EditorIndex Value="2"/> 87 <WindowIndex Value="0"/> 88 <TopLine Value="3138"/> 89 <CursorPos X="1" Y="3151"/> 90 <UsageCount Value="54"/> 91 <Loaded Value="True"/> 90 92 </Unit4> 91 93 <Unit5> 92 94 <Filename Value="E:\Programy\Lazarus\lcl\include\wincontrol.inc"/> 93 <EditorIndex Value=" 11"/>95 <EditorIndex Value="9"/> 94 96 <WindowIndex Value="0"/> 95 97 <TopLine Value="5341"/> 96 98 <CursorPos X="65" Y="5348"/> 97 <UsageCount Value=" 39"/>99 <UsageCount Value="58"/> 98 100 <Loaded Value="True"/> 99 101 </Unit5> … … 104 106 <TopLine Value="28"/> 105 107 <CursorPos X="54" Y="32"/> 106 <UsageCount Value=" 7"/>108 <UsageCount Value="3"/> 107 109 </Unit6> 108 110 <Unit7> 109 111 <Filename Value="E:\Programy\Lazarus\fpc\2.4.0\source\rtl\objpas\classes\classesh.inc"/> 110 <EditorIndex Value="3"/> 111 <WindowIndex Value="0"/> 112 <TopLine Value="484"/> 112 <WindowIndex Value="0"/> 113 <TopLine Value="490"/> 113 114 <CursorPos X="3" Y="497"/> 114 <UsageCount Value="32"/> 115 <Loaded Value="True"/> 115 <UsageCount Value="29"/> 116 116 </Unit7> 117 117 <Unit8> … … 120 120 <TopLine Value="206"/> 121 121 <CursorPos X="8" Y="219"/> 122 <UsageCount Value=" 10"/>122 <UsageCount Value="6"/> 123 123 </Unit8> 124 124 <Unit9> … … 128 128 <TopLine Value="114"/> 129 129 <CursorPos X="3" Y="127"/> 130 <UsageCount Value=" 5"/>130 <UsageCount Value="1"/> 131 131 </Unit9> 132 132 <Unit10> … … 136 136 <TopLine Value="1493"/> 137 137 <CursorPos X="18" Y="1498"/> 138 <UsageCount Value="2 9"/>138 <UsageCount Value="25"/> 139 139 </Unit10> 140 140 <Unit11> … … 143 143 <TopLine Value="417"/> 144 144 <CursorPos X="60" Y="434"/> 145 <UsageCount Value=" 5"/>145 <UsageCount Value="1"/> 146 146 </Unit11> 147 147 <Unit12> … … 150 150 <TopLine Value="67"/> 151 151 <CursorPos X="10" Y="80"/> 152 <UsageCount Value=" 5"/>152 <UsageCount Value="1"/> 153 153 </Unit12> 154 154 <Unit13> … … 158 158 <TopLine Value="280"/> 159 159 <CursorPos X="3" Y="282"/> 160 <UsageCount Value=" 7"/>160 <UsageCount Value="3"/> 161 161 </Unit13> 162 162 <Unit14> … … 165 165 <TopLine Value="200"/> 166 166 <CursorPos X="3" Y="218"/> 167 <UsageCount Value=" 7"/>167 <UsageCount Value="3"/> 168 168 </Unit14> 169 169 <Unit15> … … 174 174 <ResourceBaseClass Value="Form"/> 175 175 <UnitName Value="UDockForm"/> 176 <EditorIndex Value=" 8"/>176 <EditorIndex Value="6"/> 177 177 <WindowIndex Value="0"/> 178 178 <TopLine Value="1"/> 179 179 <CursorPos X="15" Y="9"/> 180 <UsageCount Value=" 81"/>180 <UsageCount Value="121"/> 181 181 <Loaded Value="True"/> 182 182 <LoadedDesigner Value="True"/> … … 189 189 <TopLine Value="675"/> 190 190 <CursorPos X="24" Y="688"/> 191 <UsageCount Value=" 7"/>191 <UsageCount Value="3"/> 192 192 </Unit16> 193 193 <Unit17> 194 194 <Filename Value="E:\Programy\Lazarus\lcl\stdctrls.pp"/> 195 195 <UnitName Value="StdCtrls"/> 196 <EditorIndex Value=" 6"/>196 <EditorIndex Value="4"/> 197 197 <WindowIndex Value="0"/> 198 198 <TopLine Value="813"/> 199 199 <CursorPos X="28" Y="826"/> 200 <UsageCount Value=" 11"/>200 <UsageCount Value="30"/> 201 201 <Loaded Value="True"/> 202 202 </Unit17> … … 207 207 <TopLine Value="4756"/> 208 208 <CursorPos X="5" Y="4763"/> 209 <UsageCount Value="1 5"/>209 <UsageCount Value="11"/> 210 210 <DefaultSyntaxHighlighter Value="Delphi"/> 211 211 </Unit18> … … 216 216 <TopLine Value="362"/> 217 217 <CursorPos X="21" Y="369"/> 218 <UsageCount Value=" 6"/>218 <UsageCount Value="2"/> 219 219 </Unit19> 220 220 <Unit20> … … 224 224 <TopLine Value="702"/> 225 225 <CursorPos X="10" Y="719"/> 226 <UsageCount Value="2 9"/>226 <UsageCount Value="25"/> 227 227 <DefaultSyntaxHighlighter Value="Delphi"/> 228 228 </Unit20> … … 233 233 <TopLine Value="1153"/> 234 234 <CursorPos X="32" Y="1160"/> 235 <UsageCount Value=" 30"/>235 <UsageCount Value="26"/> 236 236 </Unit21> 237 237 <Unit22> … … 241 241 <TopLine Value="479"/> 242 242 <CursorPos X="30" Y="488"/> 243 <UsageCount Value=" 5"/>243 <UsageCount Value="1"/> 244 244 </Unit22> 245 245 <Unit23> … … 248 248 <TopLine Value="538"/> 249 249 <CursorPos X="20" Y="567"/> 250 <UsageCount Value=" 10"/>250 <UsageCount Value="6"/> 251 251 </Unit23> 252 252 <Unit24> … … 255 255 <TopLine Value="359"/> 256 256 <CursorPos X="1" Y="372"/> 257 <UsageCount Value=" 5"/>257 <UsageCount Value="1"/> 258 258 </Unit24> 259 259 <Unit25> … … 263 263 <TopLine Value="267"/> 264 264 <CursorPos X="1" Y="269"/> 265 <UsageCount Value=" 12"/>265 <UsageCount Value="8"/> 266 266 </Unit25> 267 267 <Unit26> … … 271 271 <TopLine Value="551"/> 272 272 <CursorPos X="3" Y="558"/> 273 <UsageCount Value=" 12"/>273 <UsageCount Value="8"/> 274 274 </Unit26> 275 275 <Unit27> 276 276 <Filename Value="E:\Programy\Lazarus\lcl\forms.pp"/> 277 277 <UnitName Value="Forms"/> 278 <EditorIndex Value=" 9"/>278 <EditorIndex Value="7"/> 279 279 <WindowIndex Value="0"/> 280 280 <TopLine Value="709"/> 281 281 <CursorPos X="18" Y="722"/> 282 <UsageCount Value=" 13"/>282 <UsageCount Value="32"/> 283 283 <Loaded Value="True"/> 284 284 </Unit27> … … 289 289 <TopLine Value="550"/> 290 290 <CursorPos X="26" Y="560"/> 291 <UsageCount Value=" 32"/>291 <UsageCount Value="28"/> 292 292 </Unit28> 293 293 <Unit29> … … 297 297 <TopLine Value="374"/> 298 298 <CursorPos X="3" Y="387"/> 299 <UsageCount Value=" 6"/>299 <UsageCount Value="2"/> 300 300 </Unit29> 301 301 <Unit30> … … 305 305 <TopLine Value="49"/> 306 306 <CursorPos X="1" Y="56"/> 307 <UsageCount Value=" 8"/>307 <UsageCount Value="4"/> 308 308 <DefaultSyntaxHighlighter Value="Delphi"/> 309 309 </Unit30> … … 314 314 <TopLine Value="68"/> 315 315 <CursorPos X="3" Y="77"/> 316 <UsageCount Value=" 6"/>316 <UsageCount Value="2"/> 317 317 </Unit31> 318 318 <Unit32> … … 322 322 <TopLine Value="341"/> 323 323 <CursorPos X="1" Y="354"/> 324 <UsageCount Value=" 6"/>324 <UsageCount Value="2"/> 325 325 </Unit32> 326 326 <Unit33> … … 330 330 <EditorIndex Value="1"/> 331 331 <WindowIndex Value="0"/> 332 <TopLine Value=" 987"/>333 <CursorPos X="1 4" Y="1002"/>334 <UsageCount Value=" 31"/>332 <TopLine Value="1307"/> 333 <CursorPos X="18" Y="1322"/> 334 <UsageCount Value="50"/> 335 335 <Loaded Value="True"/> 336 336 <DefaultSyntaxHighlighter Value="Delphi"/> … … 341 341 <TopLine Value="1"/> 342 342 <CursorPos X="29" Y="16"/> 343 <UsageCount Value="2 9"/>343 <UsageCount Value="25"/> 344 344 <DefaultSyntaxHighlighter Value="None"/> 345 345 </Unit34> … … 349 349 <TopLine Value="619"/> 350 350 <CursorPos X="22" Y="621"/> 351 <UsageCount Value="2 9"/>351 <UsageCount Value="25"/> 352 352 </Unit35> 353 353 <Unit36> … … 356 356 <TopLine Value="27"/> 357 357 <CursorPos X="3" Y="32"/> 358 <UsageCount Value="2 9"/>358 <UsageCount Value="25"/> 359 359 </Unit36> 360 360 <Unit37> … … 363 363 <TopLine Value="50"/> 364 364 <CursorPos X="18" Y="61"/> 365 <UsageCount Value="2 9"/>365 <UsageCount Value="25"/> 366 366 </Unit37> 367 367 <Unit38> … … 370 370 <TopLine Value="84"/> 371 371 <CursorPos X="45" Y="90"/> 372 <UsageCount Value="2 9"/>372 <UsageCount Value="25"/> 373 373 </Unit38> 374 374 <Unit39> … … 378 378 <ResourceBaseClass Value="Form"/> 379 379 <UnitName Value="UCoolDockCustomize"/> 380 <EditorIndex Value="1 2"/>380 <EditorIndex Value="10"/> 381 381 <WindowIndex Value="0"/> 382 382 <TopLine Value="9"/> 383 383 <CursorPos X="19" Y="17"/> 384 <UsageCount Value=" 30"/>384 <UsageCount Value="49"/> 385 385 <Loaded Value="True"/> 386 386 <DefaultSyntaxHighlighter Value="Delphi"/> … … 395 395 <TopLine Value="59"/> 396 396 <CursorPos X="44" Y="61"/> 397 <UsageCount Value=" 11"/>397 <UsageCount Value="7"/> 398 398 <DefaultSyntaxHighlighter Value="Delphi"/> 399 399 </Unit40> … … 404 404 <ResourceBaseClass Value="Form"/> 405 405 <UnitName Value="SampleDockableForm"/> 406 <EditorIndex Value=" 5"/>406 <EditorIndex Value="3"/> 407 407 <WindowIndex Value="0"/> 408 408 <TopLine Value="1"/> 409 <CursorPos X=" 15" Y="18"/>410 <UsageCount Value=" 24"/>409 <CursorPos X="53" Y="2"/> 410 <UsageCount Value="64"/> 411 411 <Loaded Value="True"/> 412 412 <LoadedDesigner Value="True"/> … … 415 415 <Unit42> 416 416 <Filename Value="E:\Programy\Lazarus\fpc\2.4.0\source\rtl\objpas\classes\compon.inc"/> 417 <EditorIndex Value="4"/>418 417 <WindowIndex Value="0"/> 419 418 <TopLine Value="223"/> 420 419 <CursorPos X="3" Y="226"/> 421 <UsageCount Value="12"/> 422 <Loaded Value="True"/> 420 <UsageCount Value="9"/> 423 421 </Unit42> 424 422 <Unit43> 425 423 <Filename Value="E:\Programy\Lazarus\fpc\2.4.0\source\rtl\objpas\sysutils\sysutilh.inc"/> 426 <EditorIndex Value="2"/> 427 <WindowIndex Value="0"/> 428 <TopLine Value="53"/> 424 <WindowIndex Value="0"/> 425 <TopLine Value="59"/> 429 426 <CursorPos X="4" Y="66"/> 430 <UsageCount Value="12"/> 431 <Loaded Value="True"/> 427 <UsageCount Value="9"/> 432 428 </Unit43> 429 <Unit44> 430 <Filename Value="E:\Programy\Lazarus\lcl\lresources.pp"/> 431 <UnitName Value="LResources"/> 432 <WindowIndex Value="0"/> 433 <TopLine Value="3034"/> 434 <CursorPos X="1" Y="3047"/> 435 <UsageCount Value="6"/> 436 </Unit44> 433 437 </Units> 434 438 <JumpHistory Count="30" HistoryIndex="29"> 435 439 <Position1> 436 440 <Filename Value="..\UCoolDocking.pas"/> 437 <Caret Line=" 1307" Column="15" TopLine="1289"/>441 <Caret Line="668" Column="1" TopLine="654"/> 438 442 </Position1> 439 443 <Position2> 440 444 <Filename Value="..\UCoolDocking.pas"/> 441 <Caret Line=" 1293" Column="23" TopLine="1280"/>445 <Caret Line="669" Column="1" TopLine="654"/> 442 446 </Position2> 443 447 <Position3> 444 448 <Filename Value="..\UCoolDocking.pas"/> 445 <Caret Line=" 1147" Column="19" TopLine="1139"/>449 <Caret Line="671" Column="1" TopLine="654"/> 446 450 </Position3> 447 451 <Position4> 448 452 <Filename Value="..\UCoolDocking.pas"/> 449 <Caret Line=" 185" Column="16" TopLine="171"/>453 <Caret Line="672" Column="1" TopLine="654"/> 450 454 </Position4> 451 455 <Position5> 452 <Filename Value=" UMainForm.pas"/>453 <Caret Line=" 23" Column="42" TopLine="14"/>456 <Filename Value="..\UCoolDocking.pas"/> 457 <Caret Line="673" Column="1" TopLine="654"/> 454 458 </Position5> 455 459 <Position6> 456 <Filename Value=" ..\UCoolDocking.pas"/>457 <Caret Line=" 1301" Column="16" TopLine="1285"/>460 <Filename Value="UMainForm.pas"/> 461 <Caret Line="70" Column="1" TopLine="54"/> 458 462 </Position6> 459 463 <Position7> 460 <Filename Value=" ..\UCoolDocking.pas"/>461 <Caret Line=" 1298" Column="49" TopLine="1285"/>464 <Filename Value="UMainForm.pas"/> 465 <Caret Line="71" Column="1" TopLine="54"/> 462 466 </Position7> 463 467 <Position8> 464 <Filename Value=" ..\UCoolDocking.pas"/>465 <Caret Line=" 1302" Column="20" TopLine="1285"/>468 <Filename Value="UMainForm.pas"/> 469 <Caret Line="73" Column="1" TopLine="54"/> 466 470 </Position8> 467 471 <Position9> 468 <Filename Value=" ..\UCoolDocking.pas"/>469 <Caret Line=" 1303" Column="21" TopLine="1285"/>472 <Filename Value="UMainForm.pas"/> 473 <Caret Line="74" Column="1" TopLine="54"/> 470 474 </Position9> 471 475 <Position10> 472 <Filename Value=" E:\Programy\Lazarus\lcl\forms.pp"/>473 <Caret Line=" 722" Column="18" TopLine="709"/>476 <Filename Value="..\UCoolDocking.pas"/> 477 <Caret Line="665" Column="1" TopLine="654"/> 474 478 </Position10> 475 479 <Position11> 476 <Filename Value=" E:\Programy\Lazarus\lcl\controls.pp"/>477 <Caret Line=" 1878" Column="60" TopLine="1865"/>480 <Filename Value="..\UCoolDocking.pas"/> 481 <Caret Line="666" Column="1" TopLine="654"/> 478 482 </Position11> 479 483 <Position12> 480 <Filename Value=" SampleDockableForm.pas"/>481 <Caret Line=" 4" Column="41" TopLine="1"/>484 <Filename Value="..\UCoolDocking.pas"/> 485 <Caret Line="667" Column="1" TopLine="654"/> 482 486 </Position12> 483 487 <Position13> 484 <Filename Value=" UDockForm.pas"/>485 <Caret Line=" 8" Column="47" TopLine="1"/>488 <Filename Value="..\UCoolDocking.pas"/> 489 <Caret Line="668" Column="1" TopLine="654"/> 486 490 </Position13> 487 491 <Position14> 488 <Filename Value=" UMainForm.pas"/>489 <Caret Line=" 99" Column="5" TopLine="91"/>492 <Filename Value="..\UCoolDocking.pas"/> 493 <Caret Line="1308" Column="7" TopLine="1299"/> 490 494 </Position14> 491 495 <Position15> 492 496 <Filename Value="..\UCoolDocking.pas"/> 493 <Caret Line=" 1309" Column="1" TopLine="1287"/>497 <Caret Line="858" Column="3" TopLine="856"/> 494 498 </Position15> 495 499 <Position16> 496 <Filename Value=" UMainForm.pas"/>497 <Caret Line=" 66" Column="26" TopLine="55"/>500 <Filename Value="..\UCoolDocking.pas"/> 501 <Caret Line="861" Column="1" TopLine="856"/> 498 502 </Position16> 499 503 <Position17> 500 <Filename Value=" UMainForm.pas"/>501 <Caret Line=" 67" Column="26" TopLine="56"/>504 <Filename Value="..\UCoolDocking.pas"/> 505 <Caret Line="858" Column="1" TopLine="853"/> 502 506 </Position17> 503 507 <Position18> 504 <Filename Value=" UMainForm.pas"/>505 <Caret Line=" 66" Column="26" TopLine="55"/>508 <Filename Value="..\UCoolDocking.pas"/> 509 <Caret Line="861" Column="1" TopLine="853"/> 506 510 </Position18> 507 511 <Position19> 508 512 <Filename Value="..\UCoolDocking.pas"/> 509 <Caret Line=" 183" Column="34" TopLine="169"/>513 <Caret Line="858" Column="1" TopLine="853"/> 510 514 </Position19> 511 515 <Position20> 512 516 <Filename Value="..\UCoolDocking.pas"/> 513 <Caret Line="1 77" Column="70" TopLine="153"/>517 <Caret Line="1319" Column="50" TopLine="1308"/> 514 518 </Position20> 515 519 <Position21> 516 <Filename Value=" SampleDockableForm.pas"/>517 <Caret Line=" 4" Column="41" TopLine="1"/>520 <Filename Value="..\UCoolDocking.pas"/> 521 <Caret Line="1320" Column="1" TopLine="1308"/> 518 522 </Position21> 519 523 <Position22> 520 <Filename Value=" SampleDockableForm.pas"/>521 <Caret Line=" 18" Column="15" TopLine="1"/>524 <Filename Value="..\UCoolDocking.pas"/> 525 <Caret Line="710" Column="1" TopLine="697"/> 522 526 </Position22> 523 527 <Position23> 524 <Filename Value=" E:\Programy\Lazarus\lcl\stdctrls.pp"/>525 <Caret Line=" 918" Column="17" TopLine="906"/>528 <Filename Value="..\UCoolDocking.pas"/> 529 <Caret Line="711" Column="1" TopLine="697"/> 526 530 </Position23> 527 531 <Position24> 528 <Filename Value=" E:\Programy\Lazarus\lcl\stdctrls.pp"/>529 <Caret Line=" 826" Column="28" TopLine="813"/>532 <Filename Value="..\UCoolDocking.pas"/> 533 <Caret Line="712" Column="1" TopLine="697"/> 530 534 </Position24> 531 535 <Position25> 532 536 <Filename Value="..\UCoolDocking.pas"/> 533 <Caret Line="1 92" Column="21" TopLine="178"/>537 <Caret Line="1322" Column="1" TopLine="1309"/> 534 538 </Position25> 535 539 <Position26> 536 <Filename Value=" UMainForm.pas"/>537 <Caret Line=" 61" Column="45" TopLine="55"/>540 <Filename Value="..\UCoolDocking.pas"/> 541 <Caret Line="1320" Column="1" TopLine="1309"/> 538 542 </Position26> 539 543 <Position27> 540 <Filename Value=" UMainForm.pas"/>541 <Caret Line=" 66" Column="43" TopLine="56"/>544 <Filename Value="..\UCoolDocking.pas"/> 545 <Caret Line="710" Column="1" TopLine="697"/> 542 546 </Position27> 543 547 <Position28> 544 <Filename Value=" UMainForm.pas"/>545 <Caret Line=" 64" Column="32" TopLine="56"/>548 <Filename Value="..\UCoolDocking.pas"/> 549 <Caret Line="711" Column="1" TopLine="697"/> 546 550 </Position28> 547 551 <Position29> 548 <Filename Value=" UMainForm.pas"/>549 <Caret Line="71 " Column="35" TopLine="56"/>552 <Filename Value="..\UCoolDocking.pas"/> 553 <Caret Line="712" Column="1" TopLine="697"/> 550 554 </Position29> 551 555 <Position30> 552 <Filename Value=" UMainForm.pas"/>553 <Caret Line=" 64" Column="38" TopLine="51"/>556 <Filename Value="..\UCoolDocking.pas"/> 557 <Caret Line="1320" Column="47" TopLine="1307"/> 554 558 </Position30> 555 559 </JumpHistory> … … 598 602 </CompilerOptions> 599 603 <Debugging> 600 <BreakPoints Count=" 1">604 <BreakPoints Count="3"> 601 605 <Item1> 602 606 <Source Value="..\UCoolDocking.pas"/> 603 <Line Value="8 83"/>607 <Line Value="891"/> 604 608 </Item1> 609 <Item2> 610 <Source Value="..\UCoolDocking.pas"/> 611 <Line Value="1338"/> 612 </Item2> 613 <Item3> 614 <Source Value="..\UCoolDocking.pas"/> 615 <Line Value="857"/> 616 </Item3> 605 617 </BreakPoints> 606 618 <Watches Count="1"> -
Docking/CoolDocking/Demo/SampleDockableForm.lfm
r58 r59 23 23 end 24 24 object CoolDockClient1: TCoolDockClient 25 Dockable = True 25 26 Master = MainForm.CoolDockMaster1 26 27 left = 104 … … 28 29 end 29 30 object ImageList1: TImageList 30 left = 20 831 top = 8031 left = 200 32 top = 33 32 33 end 33 34 end -
Docking/CoolDocking/Demo/UDockForm.lfm
r58 r59 17 17 end 18 18 object CoolDockClient1: TCoolDockClient 19 Dockable = True 19 20 Master = MainForm.CoolDockMaster1 20 21 left = 40 -
Docking/CoolDocking/Demo/UMainForm.lfm
r58 r59 64 64 end 65 65 object CoolDockClient1: TCoolDockClient 66 Dockable = False 66 67 Master = CoolDockMaster1 67 68 Panel = Panel1 -
Docking/CoolDocking/UCoolDocking.pas
r58 r59 23 23 TCoolDockCustomize = class; 24 24 TCoolDockClient = class; 25 TCoolDockMaster = class; 25 26 26 27 { TCoolDockConjoinForm } … … 81 82 TCoolDockManager = class(TDockManager) 82 83 private 84 FMaster: TCoolDockMaster; 83 85 FMoveDuration: Integer; 84 86 FTabsPos: THeaderPos; … … 97 99 procedure PopupMenuTabCloseClick(Sender: TObject); 98 100 procedure SetDockStyle(const AValue: TDockStyle); 101 procedure SetMaster(const AValue: TCoolDockMaster); 99 102 procedure SetMoveDuration(const AValue: Integer); 100 103 procedure SetTabsPos(const AValue: THeaderPos); … … 144 147 property MoveDuration: Integer read FMoveDuration write SetMoveDuration; 145 148 property TabsPos: THeaderPos read FTabsPos write SetTabsPos; 149 property Master: TCoolDockMaster read FMaster write SetMaster; 146 150 end; 147 151 … … 181 185 TCoolDockClient = class(TComponent) 182 186 private 187 FDockable: Boolean; 183 188 FMaster: TCoolDockMaster; 184 189 FPanel: TPanel; 190 procedure SetDockable(const AValue: Boolean); 185 191 procedure SetMaster(const AValue: TCoolDockMaster); 186 192 constructor Create(AOwner: TComponent); override; … … 188 194 procedure SetPanel(const AValue: TPanel); 189 195 published 196 property Dockable: Boolean read FDockable 197 write SetDockable default True; 190 198 property Master: TCoolDockMaster read FMaster 191 199 write SetMaster; … … 538 546 if (not Assigned(FDockSite.Parent)) then begin 539 547 // Create conjointed form 540 NewConjoinDockForm := TCoolDockConjoinForm.Create(Application); 541 NewConjoinDockForm.Visible := True; 542 NewConjoinDockForm.BoundsRect := FDockSite.BoundsRect; 548 NewConjoinDockForm := CreateContainer(InsertAt); 543 549 FDockSite.ManualDock(NewConjoinDockForm.Panel); 544 550 Control.ManualDock(NewConjoinDockForm.Panel, nil, InsertAt); 545 551 end else begin 546 NewConjoinDockForm := TCoolDockConjoinForm.Create(Application); 547 NewConjoinDockForm.Visible := True; 548 NewConjoinDockForm.BoundsRect := FDockSite.BoundsRect; 549 NewConjoinDockForm.DragMode := dmAutomatic; 550 NewConjoinDockForm.DragKind := dkDock; 552 NewConjoinDockForm := CreateContainer(InsertAt); 551 553 NewDockSite := FDockSite.HostDockSite; 552 554 // FDockSite.ManualFloat(FDockSite.BoundsRect); … … 664 666 NewConjoinDockForm.Visible := True; 665 667 NewConjoinDockForm.BoundsRect := FDockSite.BoundsRect; 666 NewConjoinDockForm.DragMode := dmAutomatic; 667 NewConjoinDockForm.DragKind := dkDock; 668 NewConjoinDockForm.CoolDockClient.Master := Self.Master; 668 669 NewDockSite := FDockSite.HostDockSite; 669 670 // FDockSite.ManualFloat(FDockSite.BoundsRect); … … 703 704 end; 704 705 UpdateClientSize; 706 end; 707 708 procedure TCoolDockManager.SetMaster(const AValue: TCoolDockMaster); 709 begin 710 if FMaster = AValue then Exit; 711 FMaster := AValue; 705 712 end; 706 713 … … 849 856 procedure TCoolDockManager.PopupMenuCustomizeClick(Sender: TObject); 850 857 begin 851 // if Assigned(DockMaster.Customize) then 852 // DockMaster.Customize.Execute; 858 if Assigned(Master) and 859 Assigned(Master.Customize) then 860 Master.Customize.Execute; 853 861 end; 854 862 … … 1307 1315 if Assigned(FOldMaster) then 1308 1316 FOldMaster.UnregisterClient(Self); 1309 if Assigned(FMaster) then 1317 if Assigned(FMaster) then begin 1310 1318 FMaster.RegisterClient(Self); 1319 if not (csDesigning in ComponentState) then begin 1320 if Assigned(TWinControl(Owner).DockManager) then 1321 TCoolDockManager(TWinControl(Owner).DockManager).Master := FMaster; 1322 if Assigned(Panel) then 1323 TCoolDockManager(Panel.DockManager).Master := FMaster; 1324 end; 1325 end; 1326 end; 1327 1328 procedure TCoolDockClient.SetDockable(const AValue: Boolean); 1329 begin 1330 if FDockable = AValue then Exit; 1331 FDockable := AValue; 1332 if not (Owner is TForm) then 1333 with (Owner as TForm) do 1334 if AValue then begin 1335 DragKind := dkDock; 1336 DragMode := dmAutomatic; 1337 end else begin 1338 DragKind := dkDrag; 1339 DragMode := dmManual; 1340 end; 1311 1341 end; 1312 1342 … … 1314 1344 begin 1315 1345 inherited Create(AOwner); 1346 FDockable := True; 1316 1347 if not (AOwner is TForm) then 1317 1348 raise Exception.Create(SWrongOwner); 1318 1349 with (AOwner as TForm) do begin 1319 1350 if not (csDesigning in ComponentState) then begin 1320 DragKind := dkDock; 1321 DragMode := dmAutomatic; 1351 if Dockable then begin 1352 DragKind := dkDock; 1353 DragMode := dmAutomatic; 1354 end; 1322 1355 DockSite := True; 1323 1356 UseDockManager := True;
Note:
See TracChangeset
for help on using the changeset viewer.