Changeset 39 for trunk/IDE/Forms/UMainForm.pas
- Timestamp:
- Feb 25, 2012, 7:41:42 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.