Changeset 179 for Docking/CoolDocking/Demo
- Timestamp:
- Mar 8, 2011, 12:58:28 PM (14 years ago)
- Location:
- Docking/CoolDocking/Demo/IDE
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Docking/CoolDocking/Demo/IDE
- Property svn:ignore
-
old new 1 1 IDE.exe 2 2 lib 3 Layout.xml
-
- Property svn:ignore
-
Docking/CoolDocking/Demo/IDE/IDE.lpi
r178 r179 47 47 </Item4> 48 48 </RequiredPackages> 49 <Units Count=" 22">49 <Units Count="31"> 50 50 <Unit0> 51 51 <Filename Value="IDE.lpr"/> 52 52 <IsPartOfProject Value="True"/> 53 53 <UnitName Value="IDE"/> 54 <UsageCount Value=" 27"/>54 <UsageCount Value="31"/> 55 55 </Unit0> 56 56 <Unit1> … … 60 60 <ResourceBaseClass Value="Form"/> 61 61 <UnitName Value="UMainForm"/> 62 <IsVisibleTab Value="True"/>63 62 <EditorIndex Value="0"/> 64 63 <WindowIndex Value="0"/> 65 <TopLine Value="1 "/>66 <CursorPos X=" 55" Y="12"/>67 <UsageCount Value=" 27"/>64 <TopLine Value="159"/> 65 <CursorPos X="15" Y="161"/> 66 <UsageCount Value="31"/> 68 67 <Loaded Value="True"/> 69 68 <LoadedDesigner Value="True"/> … … 75 74 <ResourceBaseClass Value="Form"/> 76 75 <UnitName Value="UObjectInspectorForm"/> 77 <EditorIndex Value="1 4"/>76 <EditorIndex Value="12"/> 78 77 <WindowIndex Value="0"/> 79 78 <TopLine Value="1"/> 80 79 <CursorPos X="12" Y="16"/> 81 <UsageCount Value=" 27"/>80 <UsageCount Value="31"/> 82 81 <Loaded Value="True"/> 83 82 <LoadedDesigner Value="True"/> … … 89 88 <ResourceBaseClass Value="Form"/> 90 89 <UnitName Value="UStructureForm"/> 91 <EditorIndex Value="1 7"/>90 <EditorIndex Value="15"/> 92 91 <WindowIndex Value="0"/> 93 92 <TopLine Value="1"/> 94 93 <CursorPos X="3" Y="16"/> 95 <UsageCount Value=" 27"/>94 <UsageCount Value="31"/> 96 95 <Loaded Value="True"/> 97 96 <LoadedDesigner Value="True"/> … … 103 102 <ResourceBaseClass Value="Form"/> 104 103 <UnitName Value="UToolPaletteForm"/> 105 <EditorIndex Value="1 8"/>104 <EditorIndex Value="16"/> 106 105 <WindowIndex Value="0"/> 107 106 <TopLine Value="1"/> 108 107 <CursorPos X="15" Y="10"/> 109 <UsageCount Value=" 27"/>108 <UsageCount Value="31"/> 110 109 <Loaded Value="True"/> 111 110 <LoadedDesigner Value="True"/> … … 113 112 <Unit5> 114 113 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/> 115 <EditorIndex Value="1 9"/>116 <WindowIndex Value="0"/> 117 <TopLine Value=" 3176"/>118 <CursorPos X="1" Y=" 3189"/>119 <UsageCount Value="1 4"/>114 <EditorIndex Value="17"/> 115 <WindowIndex Value="0"/> 116 <TopLine Value="2272"/> 117 <CursorPos X="1" Y="2285"/> 118 <UsageCount Value="17"/> 120 119 <Loaded Value="True"/> 121 120 </Unit5> … … 126 125 <ResourceBaseClass Value="Form"/> 127 126 <UnitName Value="UProjectManagerForm"/> 128 <EditorIndex Value="1 6"/>127 <EditorIndex Value="14"/> 129 128 <WindowIndex Value="0"/> 130 129 <TopLine Value="1"/> 131 130 <CursorPos X="20" Y="16"/> 132 <UsageCount Value=" 27"/>131 <UsageCount Value="31"/> 133 132 <Loaded Value="True"/> 134 133 <LoadedDesigner Value="True"/> … … 136 135 <Unit7> 137 136 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\customform.inc"/> 138 <EditorIndex Value=" 20"/>137 <EditorIndex Value="19"/> 139 138 <WindowIndex Value="0"/> 140 139 <TopLine Value="1870"/> 141 140 <CursorPos X="1" Y="1883"/> 142 <UsageCount Value="1 4"/>141 <UsageCount Value="17"/> 143 142 <Loaded Value="True"/> 144 143 </Unit7> … … 149 148 <ResourceBaseClass Value="Form"/> 150 149 <UnitName Value="UMessagesForm"/> 151 <EditorIndex Value="1 5"/>150 <EditorIndex Value="13"/> 152 151 <WindowIndex Value="0"/> 153 152 <TopLine Value="1"/> 154 153 <CursorPos X="7" Y="16"/> 155 <UsageCount Value=" 27"/>154 <UsageCount Value="31"/> 156 155 <Loaded Value="True"/> 157 156 <LoadedDesigner Value="True"/> … … 163 162 <ResourceBaseClass Value="Form"/> 164 163 <UnitName Value="UCallStackForm"/> 165 <EditorIndex Value="1 3"/>164 <EditorIndex Value="11"/> 166 165 <WindowIndex Value="0"/> 167 166 <TopLine Value="1"/> 168 167 <CursorPos X="12" Y="15"/> 169 <UsageCount Value=" 27"/>168 <UsageCount Value="31"/> 170 169 <Loaded Value="True"/> 171 170 <LoadedDesigner Value="True"/> … … 177 176 <ResourceBaseClass Value="Form"/> 178 177 <UnitName Value="ULocalVariablesForm"/> 179 <EditorIndex Value="1 2"/>178 <EditorIndex Value="10"/> 180 179 <WindowIndex Value="0"/> 181 180 <TopLine Value="1"/> 182 181 <CursorPos X="21" Y="4"/> 183 <UsageCount Value=" 27"/>182 <UsageCount Value="31"/> 184 183 <Loaded Value="True"/> 185 184 <LoadedDesigner Value="True"/> … … 191 190 <ResourceBaseClass Value="Form"/> 192 191 <UnitName Value="UToDoListForm"/> 193 <EditorIndex Value=" 11"/>192 <EditorIndex Value="9"/> 194 193 <WindowIndex Value="0"/> 195 194 <TopLine Value="1"/> 196 195 <CursorPos X="12" Y="16"/> 197 <UsageCount Value=" 27"/>196 <UsageCount Value="31"/> 198 197 <Loaded Value="True"/> 199 198 <LoadedDesigner Value="True"/> … … 205 204 <ResourceBaseClass Value="Form"/> 206 205 <UnitName Value="UWatchListForm"/> 207 <EditorIndex Value=" 10"/>206 <EditorIndex Value="8"/> 208 207 <WindowIndex Value="0"/> 209 208 <TopLine Value="1"/> 210 209 <CursorPos X="12" Y="17"/> 211 <UsageCount Value=" 27"/>210 <UsageCount Value="31"/> 212 211 <Loaded Value="True"/> 213 212 <LoadedDesigner Value="True"/> … … 219 218 <ResourceBaseClass Value="Form"/> 220 219 <UnitName Value="UThreadStatusForm"/> 221 <EditorIndex Value=" 9"/>220 <EditorIndex Value="7"/> 222 221 <WindowIndex Value="0"/> 223 222 <TopLine Value="1"/> 224 223 <CursorPos X="12" Y="16"/> 225 <UsageCount Value=" 27"/>224 <UsageCount Value="31"/> 226 225 <Loaded Value="True"/> 227 226 <LoadedDesigner Value="True"/> … … 233 232 <ResourceBaseClass Value="Form"/> 234 233 <UnitName Value="USourceEditorForm"/> 235 <EditorIndex Value=" 1"/>234 <EditorIndex Value="2"/> 236 235 <WindowIndex Value="0"/> 237 236 <TopLine Value="1"/> 238 237 <CursorPos X="41" Y="17"/> 239 <UsageCount Value="2 5"/>238 <UsageCount Value="29"/> 240 239 <Loaded Value="True"/> 241 240 <LoadedDesigner Value="True"/> … … 244 243 <Filename Value="..\..\UCoolDocking.pas"/> 245 244 <UnitName Value="UCoolDocking"/> 246 <EditorIndex Value=" 2"/>245 <EditorIndex Value="3"/> 247 246 <WindowIndex Value="0"/> 248 247 <TopLine Value="1"/> 249 248 <CursorPos X="22" Y="9"/> 250 <UsageCount Value="1 2"/>249 <UsageCount Value="15"/> 251 250 <Loaded Value="True"/> 252 251 </Unit15> … … 254 253 <Filename Value="..\..\UCoolDockLayout.pas"/> 255 254 <UnitName Value="UCoolDockLayout"/> 256 <EditorIndex Value="3"/> 257 <WindowIndex Value="0"/> 258 <TopLine Value="38"/> 259 <CursorPos X="43" Y="57"/> 260 <UsageCount Value="12"/> 255 <IsVisibleTab Value="True"/> 256 <EditorIndex Value="4"/> 257 <WindowIndex Value="0"/> 258 <TopLine Value="383"/> 259 <CursorPos X="4" Y="396"/> 260 <UsageCount Value="15"/> 261 261 <Loaded Value="True"/> 262 262 </Unit16> 263 263 <Unit17> 264 264 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\FPC\rtl\objpas\classes\classesh.inc"/> 265 <EditorIndex Value="6"/>266 265 <WindowIndex Value="0"/> 267 266 <TopLine Value="1643"/> 268 267 <CursorPos X="42" Y="1651"/> 269 <UsageCount Value="12"/> 270 <Loaded Value="True"/> 268 <UsageCount Value="15"/> 271 269 </Unit17> 272 270 <Unit18> 273 271 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\FPC\rtl\objpas\types.pp"/> 274 272 <UnitName Value="types"/> 275 <EditorIndex Value="7"/>276 273 <WindowIndex Value="0"/> 277 274 <TopLine Value="70"/> 278 275 <CursorPos X="21" Y="83"/> 279 <UsageCount Value="12"/> 280 <Loaded Value="True"/> 276 <UsageCount Value="15"/> 281 277 </Unit18> 282 278 <Unit19> 283 279 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\FPC\rtl\win\wininc\struct.inc"/> 284 <EditorIndex Value="8"/>285 280 <WindowIndex Value="0"/> 286 281 <TopLine Value="220"/> 287 282 <CursorPos X="16" Y="233"/> 288 <UsageCount Value="12"/> 289 <Loaded Value="True"/> 283 <UsageCount Value="15"/> 290 284 </Unit19> 291 285 <Unit20> 292 286 <Filename Value="..\..\URectangle.pas"/> 293 287 <UnitName Value="URectangle"/> 294 <EditorIndex Value=" 5"/>295 <WindowIndex Value="0"/> 296 <TopLine Value=" 3"/>297 <CursorPos X=" 13" Y="13"/>298 <UsageCount Value="1 2"/>288 <EditorIndex Value="6"/> 289 <WindowIndex Value="0"/> 290 <TopLine Value="20"/> 291 <CursorPos X="52" Y="33"/> 292 <UsageCount Value="15"/> 299 293 <Loaded Value="True"/> 300 294 </Unit20> … … 302 296 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\FPC\packages\fcl-xml\src\xmlread.pp"/> 303 297 <UnitName Value="XMLRead"/> 304 <EditorIndex Value="4"/>305 298 <WindowIndex Value="0"/> 306 299 <TopLine Value="34"/> 307 300 <CursorPos X="11" Y="47"/> 301 <UsageCount Value="15"/> 302 </Unit21> 303 <Unit22> 304 <Filename Value="..\..\UCoolDockWindowList.pas"/> 305 <UnitName Value="UCoolDockWindowList"/> 306 <EditorIndex Value="5"/> 307 <WindowIndex Value="0"/> 308 <TopLine Value="103"/> 309 <CursorPos X="1" Y="106"/> 308 310 <UsageCount Value="12"/> 309 311 <Loaded Value="True"/> 310 </Unit21> 312 </Unit22> 313 <Unit23> 314 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\forms.pp"/> 315 <UnitName Value="Forms"/> 316 <WindowIndex Value="0"/> 317 <TopLine Value="362"/> 318 <CursorPos X="3" Y="378"/> 319 <UsageCount Value="11"/> 320 </Unit23> 321 <Unit24> 322 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\FPC\packages\fcl-xml\src\xmlwrite.pp"/> 323 <UnitName Value="XMLWrite"/> 324 <WindowIndex Value="0"/> 325 <TopLine Value="835"/> 326 <CursorPos X="3" Y="837"/> 327 <UsageCount Value="11"/> 328 </Unit24> 329 <Unit25> 330 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\customcombobox.inc"/> 331 <EditorIndex Value="1"/> 332 <WindowIndex Value="0"/> 333 <TopLine Value="913"/> 334 <CursorPos X="1" Y="930"/> 335 <UsageCount Value="11"/> 336 <Loaded Value="True"/> 337 </Unit25> 338 <Unit26> 339 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\containedaction.inc"/> 340 <WindowIndex Value="0"/> 341 <TopLine Value="91"/> 342 <CursorPos X="1" Y="104"/> 343 <UsageCount Value="10"/> 344 </Unit26> 345 <Unit27> 346 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\customaction.inc"/> 347 <WindowIndex Value="0"/> 348 <TopLine Value="239"/> 349 <CursorPos X="1" Y="252"/> 350 <UsageCount Value="10"/> 351 </Unit27> 352 <Unit28> 353 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\controls.pp"/> 354 <UnitName Value="Controls"/> 355 <WindowIndex Value="0"/> 356 <TopLine Value="1423"/> 357 <CursorPos X="44" Y="1431"/> 358 <UsageCount Value="10"/> 359 </Unit28> 360 <Unit29> 361 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\wincontrol.inc"/> 362 <WindowIndex Value="0"/> 363 <TopLine Value="7811"/> 364 <CursorPos X="20" Y="7829"/> 365 <UsageCount Value="10"/> 366 </Unit29> 367 <Unit30> 368 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\toolbutton.inc"/> 369 <EditorIndex Value="18"/> 370 <WindowIndex Value="0"/> 371 <TopLine Value="751"/> 372 <CursorPos X="1" Y="764"/> 373 <UsageCount Value="10"/> 374 <Loaded Value="True"/> 375 </Unit30> 311 376 </Units> 312 377 <JumpHistory Count="30" HistoryIndex="29"> 313 378 <Position1> 314 379 <Filename Value="..\..\UCoolDockLayout.pas"/> 315 <Caret Line=" 40" Column="74" TopLine="16"/>380 <Caret Line="344" Column="1" TopLine="334"/> 316 381 </Position1> 317 382 <Position2> 318 383 <Filename Value="..\..\UCoolDockLayout.pas"/> 319 <Caret Line=" 14" Column="11" TopLine="6"/>384 <Caret Line="345" Column="1" TopLine="334"/> 320 385 </Position2> 321 386 <Position3> 322 <Filename Value="..\..\U Rectangle.pas"/>323 <Caret Line=" 115" Column="26" TopLine="90"/>387 <Filename Value="..\..\UCoolDockLayout.pas"/> 388 <Caret Line="356" Column="1" TopLine="335"/> 324 389 </Position3> 325 390 <Position4> 326 <Filename Value=" ..\..\UCoolDockLayout.pas"/>327 <Caret Line=" 8" Column="65" TopLine="2"/>391 <Filename Value="UMainForm.pas"/> 392 <Caret Line="177" Column="1" TopLine="167"/> 328 393 </Position4> 329 394 <Position5> 330 <Filename Value=" ..\..\UCoolDockLayout.pas"/>331 <Caret Line=" 25" Column="44" TopLine="4"/>395 <Filename Value="UMainForm.pas"/> 396 <Caret Line="180" Column="1" TopLine="167"/> 332 397 </Position5> 333 398 <Position6> 334 399 <Filename Value="..\..\UCoolDockLayout.pas"/> 335 <Caret Line=" 80" Column="15" TopLine="63"/>400 <Caret Line="169" Column="1" TopLine="156"/> 336 401 </Position6> 337 402 <Position7> 338 403 <Filename Value="..\..\UCoolDockLayout.pas"/> 339 <Caret Line=" 68" Column="1" TopLine="55"/>404 <Caret Line="170" Column="1" TopLine="156"/> 340 405 </Position7> 341 406 <Position8> 342 407 <Filename Value="..\..\UCoolDockLayout.pas"/> 343 <Caret Line=" 86" Column="11" TopLine="74"/>408 <Caret Line="171" Column="1" TopLine="156"/> 344 409 </Position8> 345 410 <Position9> 346 411 <Filename Value="..\..\UCoolDockLayout.pas"/> 347 <Caret Line=" 37" Column="34" TopLine="12"/>412 <Caret Line="172" Column="1" TopLine="156"/> 348 413 </Position9> 349 414 <Position10> 350 <Filename Value=" ..\..\UCoolDockLayout.pas"/>351 <Caret Line="1 11" Column="12" TopLine="88"/>415 <Filename Value="UMainForm.pas"/> 416 <Caret Line="121" Column="1" TopLine="108"/> 352 417 </Position10> 353 418 <Position11> 354 <Filename Value=" ..\..\UCoolDockLayout.pas"/>355 <Caret Line="1 01" Column="1" TopLine="90"/>419 <Filename Value="UMainForm.pas"/> 420 <Caret Line="172" Column="1" TopLine="159"/> 356 421 </Position11> 357 422 <Position12> 358 423 <Filename Value="..\..\UCoolDockLayout.pas"/> 359 <Caret Line=" 129" Column="47" TopLine="109"/>424 <Caret Line="350" Column="15" TopLine="334"/> 360 425 </Position12> 361 426 <Position13> 362 427 <Filename Value="..\..\UCoolDockLayout.pas"/> 363 <Caret Line="4 1" Column="1" TopLine="20"/>428 <Caret Line="409" Column="40" TopLine="385"/> 364 429 </Position13> 365 430 <Position14> 366 431 <Filename Value="..\..\UCoolDockLayout.pas"/> 367 <Caret Line=" 31" Column="50" TopLine="21"/>432 <Caret Line="406" Column="22" TopLine="389"/> 368 433 </Position14> 369 434 <Position15> 370 435 <Filename Value="..\..\UCoolDockLayout.pas"/> 371 <Caret Line="3 3" Column="25" TopLine="16"/>436 <Caret Line="398" Column="16" TopLine="387"/> 372 437 </Position15> 373 438 <Position16> 374 439 <Filename Value="..\..\UCoolDockLayout.pas"/> 375 <Caret Line=" 228" Column="1" TopLine="205"/>440 <Caret Line="394" Column="3" TopLine="384"/> 376 441 </Position16> 377 442 <Position17> 378 443 <Filename Value="..\..\UCoolDockLayout.pas"/> 379 <Caret Line=" 78" Column="1" TopLine="67"/>444 <Caret Line="383" Column="29" TopLine="369"/> 380 445 </Position17> 381 446 <Position18> 382 447 <Filename Value="..\..\UCoolDockLayout.pas"/> 383 <Caret Line=" 187" Column="21" TopLine="175"/>448 <Caret Line="405" Column="1" TopLine="383"/> 384 449 </Position18> 385 450 <Position19> 386 <Filename Value=" ..\..\UCoolDockLayout.pas"/>387 <Caret Line=" 226" Column="16" TopLine="201"/>451 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/> 452 <Caret Line="1741" Column="1" TopLine="1728"/> 388 453 </Position19> 389 454 <Position20> 390 <Filename Value=" ..\..\UCoolDockLayout.pas"/>391 <Caret Line=" 25" Column="15" TopLine="12"/>455 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\toolbutton.inc"/> 456 <Caret Line="136" Column="1" TopLine="123"/> 392 457 </Position20> 393 458 <Position21> 394 <Filename Value=" ..\..\UCoolDockLayout.pas"/>395 <Caret Line=" 207" Column="19" TopLine="191"/>459 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\toolbutton.inc"/> 460 <Caret Line="764" Column="1" TopLine="751"/> 396 461 </Position21> 397 462 <Position22> 398 <Filename Value=" ..\..\UCoolDockLayout.pas"/>399 <Caret Line="2 35" Column="14" TopLine="229"/>463 <Filename Value="E:\Projekty2\FreePascalManager\trunk\Instance\1\Lazarus\lcl\include\control.inc"/> 464 <Caret Line="2285" Column="1" TopLine="2272"/> 400 465 </Position22> 401 466 <Position23> 402 467 <Filename Value="..\..\UCoolDockLayout.pas"/> 403 <Caret Line=" 259" Column="8" TopLine="247"/>468 <Caret Line="399" Column="1" TopLine="383"/> 404 469 </Position23> 405 470 <Position24> 406 471 <Filename Value="..\..\UCoolDockLayout.pas"/> 407 <Caret Line=" 263" Column="20" TopLine="250"/>472 <Caret Line="397" Column="1" TopLine="383"/> 408 473 </Position24> 409 474 <Position25> 410 475 <Filename Value="..\..\UCoolDockLayout.pas"/> 411 <Caret Line=" 28" Column="15" TopLine="21"/>476 <Caret Line="398" Column="1" TopLine="383"/> 412 477 </Position25> 413 478 <Position26> 414 479 <Filename Value="..\..\UCoolDockLayout.pas"/> 415 <Caret Line=" 87" Column="3" TopLine="65"/>480 <Caret Line="399" Column="1" TopLine="383"/> 416 481 </Position26> 417 482 <Position27> 418 483 <Filename Value="..\..\UCoolDockLayout.pas"/> 419 <Caret Line=" 95" Column="21" TopLine="94"/>484 <Caret Line="400" Column="1" TopLine="383"/> 420 485 </Position27> 421 486 <Position28> 422 487 <Filename Value="..\..\UCoolDockLayout.pas"/> 423 <Caret Line="4 1" Column="37" TopLine="28"/>488 <Caret Line="401" Column="1" TopLine="383"/> 424 489 </Position28> 425 490 <Position29> 426 491 <Filename Value="..\..\UCoolDockLayout.pas"/> 427 <Caret Line="4 7" Column="17" TopLine="34"/>492 <Caret Line="402" Column="1" TopLine="383"/> 428 493 </Position29> 429 494 <Position30> 430 <Filename Value=" UMainForm.pas"/>431 <Caret Line=" 12" Column="55" TopLine="1"/>495 <Filename Value="..\..\UCoolDockLayout.pas"/> 496 <Caret Line="404" Column="1" TopLine="383"/> 432 497 </Position30> 433 498 </JumpHistory> -
Docking/CoolDocking/Demo/IDE/UMainForm.lfm
r178 r179 8 8 ClientWidth = 626 9 9 Menu = MainMenu1 10 OnClose = FormClose 11 OnShow = FormShow 10 12 LCLVersion = '0.9.31' 11 13 object Panel1: TPanel … … 35 37 Width = 100 36 38 ItemHeight = 13 39 OnSelect = ComboBox1Select 37 40 TabOrder = 0 38 Text = 'ComboBox1'39 41 end 40 42 object ToolButton1: TToolButton … … 47 49 object MainMenu1: TMainMenu 48 50 left = 166 49 top = 6751 top = 72 50 52 object MenuItem1: TMenuItem 51 53 Caption = 'File' 52 54 object MenuItem23: TMenuItem 53 55 Action = ANewFile 56 end 57 object MenuItem24: TMenuItem 58 Action = AExit 54 59 end 55 60 end … … 184 189 Caption = 'New file' 185 190 OnExecute = ANewFileExecute 191 end 192 object AExit: TAction 193 Caption = 'Exit' 194 OnExecute = AExitExecute 186 195 end 187 196 end … … 214 223 4C69010000001000000010000000000000000000000000000000000000000000 215 224 0000000000000000000000000000000000000000000000000000000000000000 216 000000000000000000000000000000000000000000 0000000000000000000000217 00 00000000000000000000000000000000000000000000000000000000000000218 00 000000000000000000000000000000000000000000008484FF00000000FFFF219 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 220 00 00FFFFFFFF00000000000000000000000000000000008484FF00000000FFFF221 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 222 00 000000000000000000000000000000000000000000008484FF00000000FFFF223 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 224 00 00008484FF00000000000000000000000000000000008484FF00000000FFFF225 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 226 00 00008484FF00000000000000000000000000000000008484FF00000000FFFF227 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 228 00 00008484FF00000000000000000000000000000000008484FF00000000FFFF229 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 230 00 00008484FF00000000000000000000000000000000008484FF008484FF0000231 00 00000000000000000000000000000000000000000000000000000000000084232 84FF008484FF000000 00000000000000000000000000008484FF008484FF0084225 000000000000000000000000000000000000000000FF000000FF000000FF0000 226 00FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000 227 00FF000000FF000000FF0000000000000000000000FF008484FF000000FFFFFF 228 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 229 00FFFFFFFFFF000000FF0000000000000000000000FF008484FF000000FFFFFF 230 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 231 00FF000000FF000000FF0000000000000000000000FF008484FF000000FFFFFF 232 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 233 00FF008484FF000000FF0000000000000000000000FF008484FF000000FFFFFF 234 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 235 00FF008484FF000000FF0000000000000000000000FF008484FF000000FFFFFF 236 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 237 00FF008484FF000000FF0000000000000000000000FF008484FF000000FFFFFF 238 FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000 239 00FF008484FF000000FF0000000000000000000000FF008484FF008484FF0000 240 00FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0084 241 84FF008484FF000000FF0000000000000000000000FF008484FF008484FF0084 233 242 84FF008484FF008484FF008484FF008484FF008484FF008484FF008484FF0084 234 84FF008484FF000000 00000000000000000000000000008484FF008484FF0000235 00 00000000000000000000000000000000000000000000000000000000000000236 00 00008484FF00000000000000000000000000000000008484FF008484FF0000237 00 000000000000000000000000000000000000000000FFFFFFFFFFFFFFFF0000238 00 00008484FF00000000000000000000000000000000008484FF008484FF0000239 00 000000000000000000000000000000000000000000FFFFFFFFFFFFFFFF0000240 00 00008484FF00000000000000000000000000000000008484FF008484FF0000241 00 000000000000000000000000000000000000000000FFFFFFFFFFFFFFFF0000242 00 00008484FF0000000000000000000000000000000000000000000000000000243 00 00000000000000000000000000000000000000000000000000000000000000244 00 00000000000000000000000000000000000000000000000000000000000000243 84FF008484FF000000FF0000000000000000000000FF008484FF008484FF0000 244 00FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000 245 00FF008484FF000000FF0000000000000000000000FF008484FF008484FF0000 246 00FF000000FF000000FF000000FF000000FF000000FFFFFFFFFFFFFFFFFF0000 247 00FF008484FF000000FF0000000000000000000000FF008484FF008484FF0000 248 00FF000000FF000000FF000000FF000000FF000000FFFFFFFFFFFFFFFFFF0000 249 00FF008484FF000000FF0000000000000000000000FF008484FF008484FF0000 250 00FF000000FF000000FF000000FF000000FF000000FFFFFFFFFFFFFFFFFF0000 251 00FF008484FF000000FF000000000000000000000000000000FF000000FF0000 252 00FF000000FF000000FF000000FF000000FF000000FF000000FF000000FF0000 253 00FF000000FF000000FF00000000000000000000000000000000000000000000 245 254 0000000000000000000000000000000000000000000000000000000000000000 246 255 0000000000000000000000000000 -
Docking/CoolDocking/Demo/IDE/UMainForm.pas
r178 r179 12 12 UWatchListForm, UThreadStatusForm, USourceEditorForm; 13 13 14 const 15 DockLayoutFileName = 'Layout.xml'; 16 14 17 type 15 18 … … 18 21 TMainForm = class(TForm) 19 22 published 23 AExit: TAction; 20 24 ANewFile: TAction; 21 25 ACustomizeDocking: TAction; … … 53 57 MenuItem22: TMenuItem; 54 58 MenuItem23: TMenuItem; 59 MenuItem24: TMenuItem; 55 60 MenuItem9: TMenuItem; 56 61 MenuItem8: TMenuItem; … … 69 74 procedure ACustomizeDockingExecute(Sender: TObject); 70 75 procedure ADesktopSaveExecute(Sender: TObject); 76 procedure AExitExecute(Sender: TObject); 71 77 procedure ANewFileExecute(Sender: TObject); 72 78 procedure AViewThreadStatusExecute(Sender: TObject); … … 81 87 procedure AViewWatchListExecute(Sender: TObject); 82 88 procedure AViewWindowListExecute(Sender: TObject); 89 procedure ComboBox1Select(Sender: TObject); 90 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction); 91 procedure FormShow(Sender: TObject); 83 92 public 84 { public declarations } 85 end; 93 end; 86 94 87 95 var … … 109 117 end; 110 118 119 procedure TMainForm.ComboBox1Select(Sender: TObject); 120 begin 121 if ComboBox1.ItemIndex <> - 1 then 122 TCoolDockLayout(CoolDockLayoutList1.Items[ComboBox1.ItemIndex]).Restore; 123 end; 124 125 procedure TMainForm.FormClose(Sender: TObject; var CloseAction: TCloseAction); 126 begin 127 CoolDockLayoutList1.SaveToFile(DockLayoutFileName); 128 end; 129 130 procedure TMainForm.FormShow(Sender: TObject); 131 begin 132 with CoolDockLayoutList1 do begin 133 if FileExistsUTF8(DockLayoutFileName) then 134 LoadFromFile(DockLayoutFileName); 135 PopulateStringList(ComboBox1.Items); 136 end; 137 end; 138 111 139 procedure TMainForm.AViewProjectManagerExecute(Sender: TObject); 112 140 begin … … 140 168 141 169 procedure TMainForm.ADesktopSaveExecute(Sender: TObject); 142 begin 143 170 var 171 NewLayout: TCoolDockLayout; 172 begin 173 if ComboBox1.Items.IndexOf(ComboBox1.Text) = -1 then begin 174 NewLayout := TCoolDockLayout.Create; 175 NewLayout.Name := ComboBox1.Text; 176 NewLayout.Store; 177 CoolDockLayoutList1.Items.Add(NewLayout); 178 end else 179 TCoolDockLayout(CoolDockLayoutList1.Items[ComboBox1.ItemIndex]).Store; 180 CoolDockLayoutList1.PopulateStringList(ComboBox1.Items); 181 end; 182 183 procedure TMainForm.AExitExecute(Sender: TObject); 184 begin 185 Close; 144 186 end; 145 187 -
Docking/CoolDocking/Demo/IDE/USourceEditorForm.lfm
r178 r179 1 1 object SourceEditorForm: TSourceEditorForm 2 Left = 2 832 Left = 265 3 3 Height = 349 4 Top = 1 344 Top = 165 5 5 Width = 448 6 6 Caption = 'Source Editor'
Note:
See TracChangeset
for help on using the changeset viewer.