- Timestamp:
- Sep 24, 2010, 10:13:50 AM (14 years ago)
- Location:
- Docking/CoolDocking
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Demo/Demo.lpi
r59 r60 35 35 </Item2> 36 36 </RequiredPackages> 37 <Units Count=" 45">37 <Units Count="52"> 38 38 <Unit0> 39 39 <Filename Value="Demo.lpr"/> … … 44 44 <TopLine Value="1"/> 45 45 <CursorPos X="25" Y="8"/> 46 <UsageCount Value="12 2"/>46 <UsageCount Value="124"/> 47 47 <Loaded Value="True"/> 48 48 <DefaultSyntaxHighlighter Value="Delphi"/> … … 54 54 <ResourceBaseClass Value="Form"/> 55 55 <UnitName Value="UMainForm"/> 56 <EditorIndex Value="5"/> 57 <WindowIndex Value="0"/> 58 <TopLine Value="54"/> 59 <CursorPos X="1" Y="74"/> 60 <UsageCount Value="122"/> 56 <IsVisibleTab Value="True"/> 57 <EditorIndex Value="2"/> 58 <WindowIndex Value="0"/> 59 <TopLine Value="16"/> 60 <CursorPos X="1" Y="29"/> 61 <UsageCount Value="124"/> 61 62 <Loaded Value="True"/> 62 63 <LoadedDesigner Value="True"/> … … 66 67 <Filename Value="E:\Programy\Lazarus\lcl\controls.pp"/> 67 68 <UnitName Value="Controls"/> 68 <EditorIndex Value=" 8"/>69 <WindowIndex Value="0"/> 70 <TopLine Value="1 673"/>71 <CursorPos X="2 9" Y="1685"/>72 <UsageCount Value=" 59"/>69 <EditorIndex Value="16"/> 70 <WindowIndex Value="0"/> 71 <TopLine Value="1217"/> 72 <CursorPos X="27" Y="1230"/> 73 <UsageCount Value="61"/> 73 74 <Loaded Value="True"/> 74 75 </Unit2> … … 84 85 <Unit4> 85 86 <Filename Value="E:\Programy\Lazarus\lcl\include\control.inc"/> 86 <EditorIndex Value="2"/>87 87 <WindowIndex Value="0"/> 88 88 <TopLine Value="3138"/> 89 89 <CursorPos X="1" Y="3151"/> 90 90 <UsageCount Value="54"/> 91 <Loaded Value="True"/>92 91 </Unit4> 93 92 <Unit5> 94 93 <Filename Value="E:\Programy\Lazarus\lcl\include\wincontrol.inc"/> 95 <EditorIndex Value=" 9"/>94 <EditorIndex Value="17"/> 96 95 <WindowIndex Value="0"/> 97 96 <TopLine Value="5341"/> 98 97 <CursorPos X="65" Y="5348"/> 99 <UsageCount Value=" 58"/>98 <UsageCount Value="60"/> 100 99 <Loaded Value="True"/> 101 100 </Unit5> … … 174 173 <ResourceBaseClass Value="Form"/> 175 174 <UnitName Value="UDockForm"/> 176 <EditorIndex Value=" 6"/>177 <WindowIndex Value="0"/> 178 <TopLine Value=" 1"/>175 <EditorIndex Value="14"/> 176 <WindowIndex Value="0"/> 177 <TopLine Value="2"/> 179 178 <CursorPos X="15" Y="9"/> 180 <UsageCount Value="12 1"/>179 <UsageCount Value="123"/> 181 180 <Loaded Value="True"/> 182 181 <LoadedDesigner Value="True"/> … … 186 185 <Filename Value="E:\Programy\Lazarus\lcl\graphics.pp"/> 187 186 <UnitName Value="Graphics"/> 188 <WindowIndex Value="0"/> 189 <TopLine Value="675"/> 190 <CursorPos X="24" Y="688"/> 191 <UsageCount Value="3"/> 187 <EditorIndex Value="9"/> 188 <WindowIndex Value="0"/> 189 <TopLine Value="1083"/> 190 <CursorPos X="15" Y="1096"/> 191 <UsageCount Value="11"/> 192 <Loaded Value="True"/> 192 193 </Unit16> 193 194 <Unit17> 194 195 <Filename Value="E:\Programy\Lazarus\lcl\stdctrls.pp"/> 195 196 <UnitName Value="StdCtrls"/> 196 <EditorIndex Value="4"/> 197 <WindowIndex Value="0"/> 198 <TopLine Value="813"/> 197 <WindowIndex Value="0"/> 198 <TopLine Value="819"/> 199 199 <CursorPos X="28" Y="826"/> 200 200 <UsageCount Value="30"/> 201 <Loaded Value="True"/>202 201 </Unit17> 203 202 <Unit18> … … 230 229 <Filename Value="E:\Programy\Lazarus\lcl\extctrls.pp"/> 231 230 <UnitName Value="ExtCtrls"/> 232 <WindowIndex Value="0"/> 233 <TopLine Value="1153"/> 234 <CursorPos X="32" Y="1160"/> 235 <UsageCount Value="26"/> 231 <EditorIndex Value="4"/> 232 <WindowIndex Value="0"/> 233 <TopLine Value="292"/> 234 <CursorPos X="24" Y="305"/> 235 <UsageCount Value="27"/> 236 <Loaded Value="True"/> 236 237 </Unit21> 237 238 <Unit22> … … 268 269 <Filename Value="E:\Programy\Lazarus\lcl\comctrls.pp"/> 269 270 <UnitName Value="ComCtrls"/> 270 <WindowIndex Value="0"/> 271 <TopLine Value="551"/> 272 <CursorPos X="3" Y="558"/> 273 <UsageCount Value="8"/> 271 <EditorIndex Value="3"/> 272 <WindowIndex Value="0"/> 273 <TopLine Value="398"/> 274 <CursorPos X="59" Y="408"/> 275 <UsageCount Value="11"/> 276 <Loaded Value="True"/> 274 277 </Unit26> 275 278 <Unit27> 276 279 <Filename Value="E:\Programy\Lazarus\lcl\forms.pp"/> 277 280 <UnitName Value="Forms"/> 278 <EditorIndex Value=" 7"/>281 <EditorIndex Value="15"/> 279 282 <WindowIndex Value="0"/> 280 283 <TopLine Value="709"/> 281 284 <CursorPos X="18" Y="722"/> 282 <UsageCount Value="3 2"/>285 <UsageCount Value="34"/> 283 286 <Loaded Value="True"/> 284 287 </Unit27> … … 286 289 <Filename Value="E:\Programy\Lazarus\lcl\themes.pas"/> 287 290 <UnitName Value="Themes"/> 288 <WindowIndex Value="0"/> 289 <TopLine Value="550"/> 290 <CursorPos X="26" Y="560"/> 291 <UsageCount Value="28"/> 291 <EditorIndex Value="13"/> 292 <WindowIndex Value="0"/> 293 <TopLine Value="2167"/> 294 <CursorPos X="21" Y="2148"/> 295 <UsageCount Value="29"/> 296 <Loaded Value="True"/> 292 297 </Unit28> 293 298 <Unit29> … … 327 332 <Filename Value="..\UCoolDocking.pas"/> 328 333 <UnitName Value="UCoolDocking"/> 329 <IsVisibleTab Value="True"/>330 334 <EditorIndex Value="1"/> 331 335 <WindowIndex Value="0"/> 332 <TopLine Value=" 1307"/>333 <CursorPos X="1 8" Y="1322"/>334 <UsageCount Value="5 0"/>336 <TopLine Value="883"/> 337 <CursorPos X="1" Y="896"/> 338 <UsageCount Value="52"/> 335 339 <Loaded Value="True"/> 336 340 <DefaultSyntaxHighlighter Value="Delphi"/> … … 378 382 <ResourceBaseClass Value="Form"/> 379 383 <UnitName Value="UCoolDockCustomize"/> 380 <EditorIndex Value="1 0"/>384 <EditorIndex Value="18"/> 381 385 <WindowIndex Value="0"/> 382 386 <TopLine Value="9"/> 383 387 <CursorPos X="19" Y="17"/> 384 <UsageCount Value="49"/> 385 <Loaded Value="True"/> 388 <UsageCount Value="51"/> 389 <Loaded Value="True"/> 390 <LoadedDesigner Value="True"/> 386 391 <DefaultSyntaxHighlighter Value="Delphi"/> 387 392 </Unit39> … … 404 409 <ResourceBaseClass Value="Form"/> 405 410 <UnitName Value="SampleDockableForm"/> 406 <EditorIndex Value="3"/>407 411 <WindowIndex Value="0"/> 408 412 <TopLine Value="1"/> 409 413 <CursorPos X="53" Y="2"/> 410 <UsageCount Value="64"/> 411 <Loaded Value="True"/> 412 <LoadedDesigner Value="True"/> 414 <UsageCount Value="66"/> 413 415 <DefaultSyntaxHighlighter Value="Delphi"/> 414 416 </Unit41> … … 435 437 <UsageCount Value="6"/> 436 438 </Unit44> 439 <Unit45> 440 <Filename Value="E:\Programy\Lazarus\lcl\include\tabcontrol.inc"/> 441 <EditorIndex Value="7"/> 442 <WindowIndex Value="0"/> 443 <TopLine Value="182"/> 444 <CursorPos X="3" Y="184"/> 445 <UsageCount Value="11"/> 446 <Loaded Value="True"/> 447 </Unit45> 448 <Unit46> 449 <Filename Value="E:\Programy\Lazarus\lcl\include\pagecontrol.inc"/> 450 <EditorIndex Value="6"/> 451 <WindowIndex Value="0"/> 452 <TopLine Value="98"/> 453 <CursorPos X="3" Y="103"/> 454 <UsageCount Value="11"/> 455 <Loaded Value="True"/> 456 </Unit46> 457 <Unit47> 458 <Filename Value="E:\Programy\Lazarus\lcl\include\customnotebook.inc"/> 459 <EditorIndex Value="5"/> 460 <WindowIndex Value="0"/> 461 <TopLine Value="885"/> 462 <CursorPos X="3" Y="853"/> 463 <UsageCount Value="11"/> 464 <Loaded Value="True"/> 465 </Unit47> 466 <Unit48> 467 <Filename Value="E:\Programy\Lazarus\lcl\include\canvas.inc"/> 468 <EditorIndex Value="10"/> 469 <WindowIndex Value="0"/> 470 <TopLine Value="954"/> 471 <CursorPos X="17" Y="965"/> 472 <UsageCount Value="11"/> 473 <Loaded Value="True"/> 474 </Unit48> 475 <Unit49> 476 <Filename Value="E:\Programy\Lazarus\lcl\include\lclintfh.inc"/> 477 <EditorIndex Value="11"/> 478 <WindowIndex Value="0"/> 479 <TopLine Value="27"/> 480 <CursorPos X="10" Y="40"/> 481 <UsageCount Value="11"/> 482 <Loaded Value="True"/> 483 </Unit49> 484 <Unit50> 485 <Filename Value="E:\Programy\Lazarus\lcl\include\intfbaselcl.inc"/> 486 <EditorIndex Value="12"/> 487 <WindowIndex Value="0"/> 488 <TopLine Value="29"/> 489 <CursorPos X="3" Y="32"/> 490 <UsageCount Value="11"/> 491 <Loaded Value="True"/> 492 </Unit50> 493 <Unit51> 494 <Filename Value="E:\Programy\Lazarus\lcl\include\winapih.inc"/> 495 <EditorIndex Value="8"/> 496 <WindowIndex Value="0"/> 497 <TopLine Value="306"/> 498 <CursorPos X="10" Y="319"/> 499 <UsageCount Value="11"/> 500 <Loaded Value="True"/> 501 </Unit51> 437 502 </Units> 438 503 <JumpHistory Count="30" HistoryIndex="29"> 439 504 <Position1> 440 <Filename Value=" ..\UCoolDocking.pas"/>441 <Caret Line=" 668" Column="1" TopLine="654"/>505 <Filename Value="E:\Programy\Lazarus\lcl\controls.pp"/> 506 <Caret Line="1230" Column="35" TopLine="1217"/> 442 507 </Position1> 443 508 <Position2> 444 <Filename Value=" ..\UCoolDocking.pas"/>445 <Caret Line=" 669" Column="1" TopLine="654"/>509 <Filename Value="UMainForm.pas"/> 510 <Caret Line="84" Column="61" TopLine="71"/> 446 511 </Position2> 447 512 <Position3> 448 <Filename Value=" ..\UCoolDocking.pas"/>449 <Caret Line=" 671" Column="1" TopLine="654"/>513 <Filename Value="UMainForm.pas"/> 514 <Caret Line="85" Column="17" TopLine="71"/> 450 515 </Position3> 451 516 <Position4> 452 <Filename Value=" ..\UCoolDocking.pas"/>453 <Caret Line=" 672" Column="1" TopLine="654"/>517 <Filename Value="UMainForm.pas"/> 518 <Caret Line="84" Column="58" TopLine="71"/> 454 519 </Position4> 455 520 <Position5> 456 <Filename Value=" ..\UCoolDocking.pas"/>457 <Caret Line=" 673" Column="1" TopLine="654"/>521 <Filename Value="E:\Programy\Lazarus\lcl\extctrls.pp"/> 522 <Caret Line="305" Column="18" TopLine="292"/> 458 523 </Position5> 459 524 <Position6> 460 525 <Filename Value="UMainForm.pas"/> 461 <Caret Line=" 70" Column="1" TopLine="54"/>526 <Caret Line="84" Column="58" TopLine="71"/> 462 527 </Position6> 463 528 <Position7> 464 529 <Filename Value="UMainForm.pas"/> 465 <Caret Line=" 71" Column="1" TopLine="54"/>530 <Caret Line="85" Column="19" TopLine="72"/> 466 531 </Position7> 467 532 <Position8> 468 533 <Filename Value="UMainForm.pas"/> 469 <Caret Line=" 73" Column="1" TopLine="54"/>534 <Caret Line="43" Column="16" TopLine="32"/> 470 535 </Position8> 471 536 <Position9> 472 537 <Filename Value="UMainForm.pas"/> 473 <Caret Line=" 74" Column="1" TopLine="54"/>538 <Caret Line="84" Column="65" TopLine="72"/> 474 539 </Position9> 475 540 <Position10> 476 <Filename Value=" ..\UCoolDocking.pas"/>477 <Caret Line=" 665" Column="1" TopLine="654"/>541 <Filename Value="UMainForm.pas"/> 542 <Caret Line="85" Column="16" TopLine="72"/> 478 543 </Position10> 479 544 <Position11> 480 <Filename Value=" ..\UCoolDocking.pas"/>481 <Caret Line=" 666" Column="1" TopLine="654"/>545 <Filename Value="UMainForm.pas"/> 546 <Caret Line="45" Column="15" TopLine="32"/> 482 547 </Position11> 483 548 <Position12> 484 <Filename Value=" ..\UCoolDocking.pas"/>485 <Caret Line=" 667" Column="1" TopLine="654"/>549 <Filename Value="UMainForm.pas"/> 550 <Caret Line="85" Column="22" TopLine="72"/> 486 551 </Position12> 487 552 <Position13> 488 <Filename Value=" ..\UCoolDocking.pas"/>489 <Caret Line=" 668" Column="1" TopLine="654"/>553 <Filename Value="UMainForm.pas"/> 554 <Caret Line="46" Column="30" TopLine="33"/> 490 555 </Position13> 491 556 <Position14> 492 <Filename Value=" ..\UCoolDocking.pas"/>493 <Caret Line=" 1308" Column="7" TopLine="1299"/>557 <Filename Value="UMainForm.pas"/> 558 <Caret Line="45" Column="50" TopLine="32"/> 494 559 </Position14> 495 560 <Position15> 496 <Filename Value=" ..\UCoolDocking.pas"/>497 <Caret Line=" 858" Column="3" TopLine="856"/>561 <Filename Value="UMainForm.pas"/> 562 <Caret Line="46" Column="30" TopLine="33"/> 498 563 </Position15> 499 564 <Position16> 500 <Filename Value=" ..\UCoolDocking.pas"/>501 <Caret Line="8 61" Column="1" TopLine="856"/>565 <Filename Value="UMainForm.pas"/> 566 <Caret Line="85" Column="22" TopLine="72"/> 502 567 </Position16> 503 568 <Position17> 504 <Filename Value=" ..\UCoolDocking.pas"/>505 <Caret Line=" 858" Column="1" TopLine="853"/>569 <Filename Value="UMainForm.pas"/> 570 <Caret Line="46" Column="30" TopLine="33"/> 506 571 </Position17> 507 572 <Position18> 508 573 <Filename Value="..\UCoolDocking.pas"/> 509 <Caret Line=" 861" Column="1" TopLine="853"/>574 <Caret Line="195" Column="15" TopLine="182"/> 510 575 </Position18> 511 576 <Position19> 512 <Filename Value=" ..\UCoolDocking.pas"/>513 <Caret Line="85 8" Column="1" TopLine="853"/>577 <Filename Value="UMainForm.pas"/> 578 <Caret Line="85" Column="28" TopLine="72"/> 514 579 </Position19> 515 580 <Position20> 516 581 <Filename Value="..\UCoolDocking.pas"/> 517 <Caret Line="1 319" Column="50" TopLine="1308"/>582 <Caret Line="119" Column="34" TopLine="112"/> 518 583 </Position20> 519 584 <Position21> 520 585 <Filename Value="..\UCoolDocking.pas"/> 521 <Caret Line=" 1320" Column="1" TopLine="1308"/>586 <Caret Line="443" Column="18" TopLine="431"/> 522 587 </Position21> 523 588 <Position22> 524 <Filename Value=" ..\UCoolDocking.pas"/>525 <Caret Line="7 10" Column="1" TopLine="697"/>589 <Filename Value="UMainForm.pas"/> 590 <Caret Line="76" Column="24" TopLine="65"/> 526 591 </Position22> 527 592 <Position23> 528 <Filename Value=" ..\UCoolDocking.pas"/>529 <Caret Line="7 11" Column="1" TopLine="697"/>593 <Filename Value="UMainForm.pas"/> 594 <Caret Line="75" Column="24" TopLine="64"/> 530 595 </Position23> 531 596 <Position24> 532 <Filename Value=" ..\UCoolDocking.pas"/>533 <Caret Line="7 12" Column="1" TopLine="697"/>597 <Filename Value="UMainForm.pas"/> 598 <Caret Line="74" Column="24" TopLine="63"/> 534 599 </Position24> 535 600 <Position25> 536 <Filename Value=" ..\UCoolDocking.pas"/>537 <Caret Line=" 1322" Column="1" TopLine="1309"/>601 <Filename Value="UMainForm.pas"/> 602 <Caret Line="73" Column="24" TopLine="62"/> 538 603 </Position25> 539 604 <Position26> 540 <Filename Value=" ..\UCoolDocking.pas"/>541 <Caret Line=" 1320" Column="1" TopLine="1309"/>605 <Filename Value="UMainForm.pas"/> 606 <Caret Line="72" Column="24" TopLine="61"/> 542 607 </Position26> 543 608 <Position27> 544 <Filename Value=" ..\UCoolDocking.pas"/>545 <Caret Line="71 0" Column="1" TopLine="697"/>609 <Filename Value="UMainForm.pas"/> 610 <Caret Line="71" Column="24" TopLine="60"/> 546 611 </Position27> 547 612 <Position28> 548 <Filename Value=" ..\UCoolDocking.pas"/>549 <Caret Line=" 711" Column="1" TopLine="697"/>613 <Filename Value="UMainForm.pas"/> 614 <Caret Line="98" Column="1" TopLine="98"/> 550 615 </Position28> 551 616 <Position29> 552 <Filename Value=" ..\UCoolDocking.pas"/>553 <Caret Line=" 712" Column="1" TopLine="697"/>617 <Filename Value="UMainForm.pas"/> 618 <Caret Line="35" Column="1" TopLine="22"/> 554 619 </Position29> 555 620 <Position30> 556 <Filename Value=" ..\UCoolDocking.pas"/>557 <Caret Line="1 320" Column="47" TopLine="1307"/>621 <Filename Value="UMainForm.pas"/> 622 <Caret Line="109" Column="1" TopLine="86"/> 558 623 </Position30> 559 624 </JumpHistory> … … 596 661 <Other> 597 662 <CompilerMessages> 663 <IgnoredMessages idx5024="True"/> 598 664 <UseMsgFile Value="True"/> 599 665 </CompilerMessages> … … 602 668 </CompilerOptions> 603 669 <Debugging> 604 <BreakPoints Count="3">605 <Item1>606 <Source Value="..\UCoolDocking.pas"/>607 <Line Value="891"/>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>617 </BreakPoints>618 670 <Watches Count="1"> 619 671 <Item1> -
Docking/CoolDocking/Demo/UMainForm.pas
r58 r60 1 1 unit UMainForm; 2 2 3 {$mode objfpc}{$H+}3 {$mode Delphi}{$H+} 4 4 5 5 interface … … 27 27 Panel1: TPanel; 28 28 procedure Button1Click(Sender: TObject); 29 procedure Button2Click(Sender: TObject);30 29 procedure FormCreate(Sender: TObject); 31 30 procedure FormDestroy(Sender: TObject); … … 34 33 procedure MenuItem4Click(Sender: TObject); 35 34 private 36 { private declarations }37 35 public 38 36 FormIndex: Integer; … … 109 107 end; 110 108 111 procedure TMainForm.Button2Click(Sender: TObject);112 begin113 114 end;115 116 109 end. 117 110 -
Docking/CoolDocking/UCoolDockCustomize.lfm
r57 r60 13 13 Top = 8 14 14 Width = 393 15 ActivePage = TabSheet Layouts15 ActivePage = TabSheetSetting 16 16 Anchors = [akTop, akLeft, akRight, akBottom] 17 TabIndex = 117 TabIndex = 0 18 18 TabOrder = 0 19 19 object TabSheetSetting: TTabSheet … … 36 36 ItemHeight = 13 37 37 TabOrder = 0 38 Text = 'ComboBox1' 39 end 40 object Label2: TLabel 41 Left = 7 42 Height = 14 43 Top = 41 44 Width = 117 45 Caption = 'Default header position:' 46 ParentColor = False 47 end 48 object ComboBox2: TComboBox 49 Left = 132 50 Height = 21 51 Top = 38 52 Width = 100 53 ItemHeight = 13 54 TabOrder = 1 38 55 Text = 'ComboBox1' 39 56 end -
Docking/CoolDocking/UCoolDockCustomize.lrs
r57 r60 6 6 +'cking'#12'ClientHeight'#3'C'#1#11'ClientWidth'#3#151#1#10'LCLVersion'#6#6'0' 7 7 +'.9.29'#0#12'TPageControl'#12'PageControl1'#4'Left'#2#8#6'Height'#3#22#1#3'T' 8 +'op'#2#8#5'Width'#3#137#1#10'ActivePage'#7#15'TabSheet Layouts'#7'Anchors'#119 +#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#8'TabIndex'#2# 1#8'TabOrder'#2#08 +'op'#2#8#5'Width'#3#137#1#10'ActivePage'#7#15'TabSheetSetting'#7'Anchors'#11 9 +#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#8'TabIndex'#2#0#8'TabOrder'#2#0 10 10 +#0#9'TTabSheet'#15'TabSheetSetting'#7'Caption'#6#7'Options'#12'ClientHeight' 11 11 +#3#252#0#11'ClientWidth'#3#129#1#0#6'TLabel'#6'Label1'#4'Left'#2#7#6'Height' … … 13 13 +'arentColor'#8#0#0#9'TComboBox'#9'ComboBox1'#4'Left'#3#132#0#6'Height'#2#21#3 14 14 +'Top'#2#10#5'Width'#2'd'#10'ItemHeight'#2#13#8'TabOrder'#2#0#4'Text'#6#9'Com' 15 +'boBox1'#0#0#0#9'TTabSheet'#15'TabSheetLayouts'#7'Caption'#6#7'Layouts'#12'C' 16 +'lientHeight'#3#252#0#11'ClientWidth'#3#129#1#0#8'TListBox'#8'ListBox1'#4'Le' 17 +'ft'#2#10#6'Height'#3#231#0#3'Top'#2#11#5'Width'#3#180#0#7'Anchors'#11#5'akT' 18 +'op'#6'akLeft'#8'akBottom'#0#10'ItemHeight'#2#0#8'TabOrder'#2#0#0#0#0#0#7'TB' 19 +'utton'#11'ButtonClose'#4'Left'#3'D'#1#6'Height'#2#22#3'Top'#3'&'#1#5'Width' 20 +#2'K'#7'Anchors'#11#7'akRight'#8'akBottom'#0#7'Caption'#6#5'Close'#7'OnClick' 21 +#7#16'ButtonCloseClick'#8'TabOrder'#2#1#0#0#0 15 +'boBox1'#0#0#6'TLabel'#6'Label2'#4'Left'#2#7#6'Height'#2#14#3'Top'#2')'#5'Wi' 16 +'dth'#2'u'#7'Caption'#6#24'Default header position:'#11'ParentColor'#8#0#0#9 17 +'TComboBox'#9'ComboBox2'#4'Left'#3#132#0#6'Height'#2#21#3'Top'#2'&'#5'Width' 18 +#2'd'#10'ItemHeight'#2#13#8'TabOrder'#2#1#4'Text'#6#9'ComboBox1'#0#0#0#9'TTa' 19 +'bSheet'#15'TabSheetLayouts'#7'Caption'#6#7'Layouts'#12'ClientHeight'#3#252#0 20 +#11'ClientWidth'#3#129#1#0#8'TListBox'#8'ListBox1'#4'Left'#2#10#6'Height'#3 21 +#231#0#3'Top'#2#11#5'Width'#3#180#0#7'Anchors'#11#5'akTop'#6'akLeft'#8'akBot' 22 +'tom'#0#10'ItemHeight'#2#0#8'TabOrder'#2#0#0#0#0#0#7'TButton'#11'ButtonClose' 23 +#4'Left'#3'D'#1#6'Height'#2#22#3'Top'#3'&'#1#5'Width'#2'K'#7'Anchors'#11#7'a' 24 +'kRight'#8'akBottom'#0#7'Caption'#6#5'Close'#7'OnClick'#7#16'ButtonCloseClic' 25 +'k'#8'TabOrder'#2#1#0#0#0 22 26 ]); -
Docking/CoolDocking/UCoolDockCustomize.lrt
r55 r60 3 3 TCOOLDOCKCUSTOMIZEFORM.LABEL1.CAPTION=Default tabs position: 4 4 TCOOLDOCKCUSTOMIZEFORM.COMBOBOX1.TEXT=ComboBox1 5 TCOOLDOCKCUSTOMIZEFORM.LABEL2.CAPTION=Default header position: 6 TCOOLDOCKCUSTOMIZEFORM.COMBOBOX2.TEXT=ComboBox1 5 7 TCOOLDOCKCUSTOMIZEFORM.TABSHEETLAYOUTS.CAPTION=Layouts 6 8 TCOOLDOCKCUSTOMIZEFORM.BUTTONCLOSE.CAPTION=Close -
Docking/CoolDocking/UCoolDockCustomize.pas
r57 r60 16 16 ButtonClose: TButton; 17 17 ComboBox1: TComboBox; 18 ComboBox2: TComboBox; 18 19 Label1: TLabel; 20 Label2: TLabel; 19 21 ListBox1: TListBox; 20 22 PageControl1: TPageControl; -
Docking/CoolDocking/UCoolDocking.pas
r59 r60 95 95 FDockPanels: TObjectList; // of TCoolDockClientPanel 96 96 function FindControlInPanels(Control: TControl): TCoolDockClientPanel; 97 function GetDockSite: TWinControl; 97 98 procedure InsertControlPanel(Control: TControl; InsertAt: TAlign; 98 99 DropCtl: TControl); … … 148 149 property TabsPos: THeaderPos read FTabsPos write SetTabsPos; 149 150 property Master: TCoolDockMaster read FMaster write SetMaster; 151 property DockSite: TWinControl read GetDockSite; 150 152 end; 151 153 … … 186 188 private 187 189 FDockable: Boolean; 190 FFloatable: Boolean; 188 191 FMaster: TCoolDockMaster; 189 192 FPanel: TPanel; 190 193 procedure SetDockable(const AValue: Boolean); 194 procedure SetFloatable(const AValue: Boolean); 191 195 procedure SetMaster(const AValue: TCoolDockMaster); 192 196 constructor Create(AOwner: TComponent); override; … … 196 200 property Dockable: Boolean read FDockable 197 201 write SetDockable default True; 202 property Floatable: Boolean read FFloatable 203 write SetFloatable default True; 198 204 property Master: TCoolDockMaster read FMaster 199 205 write SetMaster; … … 247 253 SCustomize = 'Customize...'; 248 254 SWrongOwner = 'Owner of TCoolDockClient have to be TForm'; 255 SEnterNewWindowName = 'Enter new window name'; 256 SRenameWindow = 'Rename window'; 249 257 250 258 procedure Register; … … 269 277 if I < FDockPanels.Count then Result := TCoolDockClientPanel(FDockPanels[I]) 270 278 else Result := nil; 279 end; 280 281 function TCoolDockManager.GetDockSite: TWinControl; 282 begin 283 Result := FDockSite; 271 284 end; 272 285 … … 429 442 OnChange := TabControlChange; 430 443 PopupMenu := PopupMenuTabs; 431 OnMouseDown := TabControlMouseDown; 444 //OnMouseDown := TabControlMouseDown; 445 TTabControlNoteBookStrings(Tabs).NoteBook.OnMouseDown := TabControlMouseDown; 432 446 Images := TabImageList; 433 447 end; … … 518 532 if DockStyle = dsTabs then begin 519 533 TabControl.Tabs.Add(Control.Caption); 534 TabImageList.Add(NewPanel.Header.Icon.Picture.Bitmap, nil); 520 535 if Assigned(NewPanel.Splitter) then 521 536 NewPanel.Splitter.Visible := False; … … 820 835 821 836 procedure TCoolDockManager.PopupMenuRenameClick(Sender: TObject); 822 begin 823 837 var 838 Value: string; 839 begin 840 Value := DockSite.Parent.Caption; 841 if InputQuery(SRenameWindow, SEnterNewWindowName, False, Value) then 842 DockSite.Parent.Caption := Value; 824 843 end; 825 844 … … 850 869 851 870 procedure TCoolDockManager.PopupMenuUndockClick(Sender: TObject); 852 begin 853 871 var 872 Control: TControl; 873 begin 874 875 //Control.ManualFloat(Control.BoundsRect); 854 876 end; 855 877 … … 1330 1352 if FDockable = AValue then Exit; 1331 1353 FDockable := AValue; 1332 if not(Owner is TForm) then1354 if (Owner is TForm) then 1333 1355 with (Owner as TForm) do 1334 1356 if AValue then begin … … 1339 1361 DragMode := dmManual; 1340 1362 end; 1363 end; 1364 1365 procedure TCoolDockClient.SetFloatable(const AValue: Boolean); 1366 begin 1367 if FFloatable = AValue then Exit; 1368 FFloatable := AValue; 1341 1369 end; 1342 1370 -
Docking/CoolDocking/languages/UCoolDocking.cs.po
r58 r60 31 31 msgstr "Záložky" 32 32 33 #: ucooldocking.senternewwindowname 34 msgid "Enter new window name" 35 msgstr "" 36 33 37 #: ucooldocking.sposition 34 38 msgid "Position" … … 59 63 msgstr "Přejmenovat" 60 64 65 #: ucooldocking.srenamewindow 66 msgid "Rename window" 67 msgstr "" 68 61 69 #: ucooldocking.sundock 62 70 msgid "Undock" -
Docking/CoolDocking/languages/UCoolDocking.po
r58 r60 20 20 #: ucooldocking.sdocktabs 21 21 msgid "Tabs" 22 msgstr "" 23 24 #: ucooldocking.senternewwindowname 25 msgid "Enter new window name" 22 26 msgstr "" 23 27 … … 50 54 msgstr "" 51 55 56 #: ucooldocking.srenamewindow 57 msgid "Rename window" 58 msgstr "" 59 52 60 #: ucooldocking.sundock 53 61 msgid "Undock"
Note:
See TracChangeset
for help on using the changeset viewer.