Changeset 39 for trunk/IDE/Forms
- Timestamp:
- Feb 25, 2012, 7:41:42 PM (13 years ago)
- Location:
- trunk/IDE/Forms
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IDE/Forms/UCompiledForm.lfm
r34 r39 532 532 Command = emcStartDragMove 533 533 end> 534 Lines.Strings = (535 'SynEdit1'536 )537 534 VisibleSpecialChars = [vscSpace, vscTabAtLast] 535 ReadOnly = True 538 536 BracketHighlightStyle = sbhsBoth 537 BracketMatchColor.Background = clNone 538 BracketMatchColor.Foreground = clNone 539 BracketMatchColor.Style = [fsBold] 540 FoldedCodeColor.Background = clNone 541 FoldedCodeColor.Foreground = clGray 542 FoldedCodeColor.FrameColor = clGray 543 MouseLinkColor.Background = clNone 544 MouseLinkColor.Foreground = clBlue 545 LineHighlightColor.Background = clNone 546 LineHighlightColor.Foreground = clNone 539 547 inline SynLeftGutterPartList1: TSynGutterPartList 540 548 object SynGutterMarks1: TSynGutterMarks -
trunk/IDE/Forms/UMainForm.lfm
r38 r39 25 25 ResizeAnchor = akBottom 26 26 end 27 object DockPanel: TPanel28 Left = 029 Height = 33930 Top = 2631 Width = 49032 Align = alClient33 BevelOuter = bvNone34 TabOrder = 135 end36 27 object ToolBar1: TToolBar 37 28 Left = 0 … … 42 33 ParentShowHint = False 43 34 ShowHint = True 44 TabOrder = 235 TabOrder = 1 45 36 object ToolButton1: TToolButton 46 37 Left = 1 … … 98 89 Top = 26 99 90 Width = 200 100 ActivePage = TabSheet 291 ActivePage = TabSheetProject 101 92 Align = alRight 102 TabIndex = 1103 TabOrder = 493 TabIndex = 0 94 TabOrder = 3 104 95 TabPosition = tpRight 105 object TabSheet 1: TTabSheet96 object TabSheetProject: TTabSheet 106 97 Caption = 'Project' 107 98 end 108 object TabSheet 2: TTabSheet99 object TabSheetCodeTree: TTabSheet 109 100 Caption = 'Code Tree' 101 end 102 object TabSheetCompiledProject: TTabSheet 103 Caption = 'Target project' 110 104 end 111 105 end … … 115 109 Top = 370 116 110 Width = 695 117 ActivePage = TabSheet 4111 ActivePage = TabSheetMessages 118 112 Align = alBottom 119 TabIndex = 1120 TabOrder = 5113 TabIndex = 0 114 TabOrder = 4 121 115 TabPosition = tpBottom 122 object TabSheet 3: TTabSheet116 object TabSheetMessages: TTabSheet 123 117 Caption = 'Messages' 124 118 end 125 object TabSheet 4: TTabSheet126 Caption = ' Compiled source'119 object TabSheetBreakpoints: TTabSheet 120 Caption = 'Breakpoints' 127 121 end 128 122 end … … 135 129 Align = alBottom 136 130 ResizeAnchor = akBottom 131 end 132 object PageControlMain: TPageControl 133 Left = 0 134 Height = 339 135 Top = 26 136 Width = 490 137 ActivePage = TabSheetSource 138 Align = alClient 139 TabIndex = 0 140 TabOrder = 6 141 object TabSheetSource: TTabSheet 142 Caption = 'Source code' 143 end 144 object TabSheetTarget: TTabSheet 145 Caption = 'Target code' 146 end 137 147 end 138 148 object MainMenu1: TMainMenu -
trunk/IDE/Forms/UMainForm.lrt
r38 r39 1 1 TMAINFORM.CAPTION=Transpascal IDE 2 TMAINFORM.TABSHEET1.CAPTION=Project 3 TMAINFORM.TABSHEET2.CAPTION=Code Tree 4 TMAINFORM.TABSHEET3.CAPTION=Messages 5 TMAINFORM.TABSHEET4.CAPTION=Compiled source 2 TMAINFORM.TABSHEETPROJECT.CAPTION=Project 3 TMAINFORM.TABSHEETCODETREE.CAPTION=Code Tree 4 TMAINFORM.TABSHEETCOMPILEDPROJECT.CAPTION=Target project 5 TMAINFORM.TABSHEETMESSAGES.CAPTION=Messages 6 TMAINFORM.TABSHEETBREAKPOINTS.CAPTION=Breakpoints 7 TMAINFORM.TABSHEETSOURCE.CAPTION=Source code 8 TMAINFORM.TABSHEETTARGET.CAPTION=Target code 6 9 TMAINFORM.MENUITEM1.CAPTION=Project 7 10 TMAINFORM.MENUITEMOPENRECENT.CAPTION=Open recent -
trunk/IDE/Forms/UMainForm.pas
r38 r39 76 76 MenuItem7: TMenuItem; 77 77 MenuItem8: TMenuItem; 78 DockPanel: TPanel;79 78 MenuItem9: TMenuItem; 80 79 MenuItemOpenRecent: TMenuItem; 81 80 OpenDialog1: TOpenDialog; 81 PageControlMain: TPageControl; 82 82 PageControlRight: TPageControl; 83 83 PageControlBottom: TPageControl; … … 86 86 Splitter2: TSplitter; 87 87 Splitter3: TSplitter; 88 TabSheet1: TTabSheet; 89 TabSheet2: TTabSheet; 90 TabSheet3: TTabSheet; 91 TabSheet4: TTabSheet; 88 TabSheetProject: TTabSheet; 89 TabSheetCodeTree: TTabSheet; 90 TabSheetMessages: TTabSheet; 91 TabSheetBreakpoints: TTabSheet; 92 TabSheetCompiledProject: TTabSheet; 93 TabSheetSource: TTabSheet; 94 TabSheetTarget: TTabSheet; 92 95 ToolBar1: TToolBar; 93 96 ToolButton1: TToolButton; … … 171 174 with TProducer(Producers[I]) do begin 172 175 OpenKey(Key + '\Producers\' + Name, True); 173 CompilerPAth := ReadStringWithDefault('CompilerPath', CompilerPath); 176 if ValueExists('CompilerPath') then 177 CompilerPath := ReadStringWithDefault('CompilerPath', CompilerPath); 174 178 end; 175 179 finally … … 188 192 with TProducer(Producers[I]) do begin 189 193 OpenKey(Key + '\Producers\' + Name, True); 190 WriteString('CompilerPath', CompilerPath); 194 if CompilerPath <> '' then WriteString('CompilerPath', CompilerPath) 195 else DeleteValue('CompilerPath'); 191 196 end; 192 197 finally … … 300 305 Container2: TCDConjoinForm; 301 306 begin 302 CodeForm.ManualDock( DockPanel, nil, alClient);307 CodeForm.ManualDock(TabSheetSource, nil, alClient); 303 308 CodeForm.Align := alClient; 304 309 CodeForm.Show; 305 MessagesForm.ManualDock(TabSheet 3, nil, alClient);310 MessagesForm.ManualDock(TabSheetMessages, nil, alClient); 306 311 MessagesForm.Align := alClient; 307 312 MessagesForm.Show; 308 ProjectManager.ManualDock(TabSheet 1, nil, alClient);313 ProjectManager.ManualDock(TabSheetProject, nil, alClient); 309 314 ProjectManager.Align := alClient; 310 315 ProjectManager.Show; 311 CodeTreeForm.ManualDock(TabSheet 2, nil, alClient);316 CodeTreeForm.ManualDock(TabSheetCodeTree, nil, alClient); 312 317 CodeTreeForm.Align := alClient; 313 318 CodeTreeForm.Show; 314 CompiledForm.ManualDock(TabSheet 4, nil, alClient);319 CompiledForm.ManualDock(TabSheetTarget, nil, alClient); 315 320 CompiledForm.Align := alClient; 316 321 CompiledForm.Show; 317 322 PageControlRight.TabIndex := 0; 318 323 PageControlBottom.TabIndex := 0; 324 PageControlMain.TabIndex := 0; 319 325 320 326 (*ProjectManager.ManualDock(DockPanel, nil, alLeft); … … 366 372 CoolTranslator1.Language := CoolTranslator1.Languages.SearchByCode(ReadStringWithDefault('LanguageCode', '')) 367 373 else CoolTranslator1.Language := CoolTranslator1.Languages.SearchByCode(''); 374 PageControlRight.Width := ReadIntegerWithDefault('RightPanelWidth', 120); 375 PageControlBottom.Height := ReadIntegerWithDefault('BottomPanelHeight', 100); 368 376 finally 369 377 Free; … … 386 394 WriteString('LanguageCode', CoolTranslator1.Language.Code) 387 395 else DeleteValue('LanguageCode'); 396 WriteInteger('RightPanelWidth', PageControlRight.Width); 397 WriteInteger('BottomPanelHeight', PageControlBottom.Height); 388 398 finally 389 399 Free;
Note:
See TracChangeset
for help on using the changeset viewer.