Changeset 145 for trunk/Forms/UFormMain.pas
- Timestamp:
- Nov 12, 2017, 1:47:20 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.pas
r133 r145 7 7 uses 8 8 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls, 9 UGame, LCLType, Menus, ActnList, ComCtrls, types, dateutils, XMLConf ;9 UGame, LCLType, Menus, ActnList, ComCtrls, types, dateutils, XMLConf, DOM; 10 10 11 11 const … … 193 193 begin 194 194 with Config do begin 195 AToolBarBigIcons.Checked := GetValue( Path + '/LargeIcons', False);196 AToolBarVisible.Checked := GetValue( Path + '/ToolBarVisible', True);197 AStatusBarVisible.Checked := GetValue( Path + '/StatusBarVisible', False);195 AToolBarBigIcons.Checked := GetValue(DOMString(Path + '/LargeIcons'), False); 196 AToolBarVisible.Checked := GetValue(DOMString(Path + '/ToolBarVisible'), True); 197 AStatusBarVisible.Checked := GetValue(DOMString(Path + '/StatusBarVisible'), False); 198 198 end; 199 199 end; … … 202 202 begin 203 203 with Config do begin 204 SetValue( Path + '/LargeIcons', AToolBarBigIcons.Checked);205 SetValue( Path + '/ToolBarVisible', AToolBarVisible.Checked);206 SetValue( Path + '/StatusBarVisible', AStatusBarVisible.Checked);204 SetValue(DOMString(Path + '/LargeIcons'), AToolBarBigIcons.Checked); 205 SetValue(DOMString(Path + '/ToolBarVisible'), AToolBarVisible.Checked); 206 SetValue(DOMString(Path + '/StatusBarVisible'), AStatusBarVisible.Checked); 207 207 end; 208 208 end; … … 289 289 290 290 procedure TFormMain.AZoomOutExecute(Sender: TObject); 291 var292 D: TPoint;291 //var 292 // D: TPoint; 293 293 begin 294 294 with Core.CurrentClient do begin
Note:
See TracChangeset
for help on using the changeset viewer.