Changeset 174 for trunk/Forms
- Timestamp:
- Jul 19, 2024, 3:51:57 PM (4 months ago)
- Location:
- trunk/Forms
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormMain.lfm
r167 r174 1 1 object FormMain: TFormMain 2 2 Left = 534 3 Height = 9933 Height = 1061 4 4 Top = 223 5 5 Width = 1491 6 6 AllowDropFiles = True 7 7 Caption = 'vCard Studio' 8 ClientHeight = 9598 ClientHeight = 1061 9 9 ClientWidth = 1491 10 10 DesignTimePPI = 144 … … 18 18 OnResize = FormResize 19 19 OnShow = FormShow 20 LCLVersion = ' 2.2.6.0'20 LCLVersion = '3.4.0.0' 21 21 object CoolBar1: TCoolBar 22 22 Left = 0 … … 196 196 OnClick = MenuItemColumnsClick 197 197 end 198 object MenuItem17: TMenuItem 199 Action = Core.AFullScreen 200 end 198 201 end 199 202 object MenuItemTools: TMenuItem -
trunk/Forms/FormMain.pas
r167 r174 22 22 MenuItem15: TMenuItem; 23 23 MenuItem16: TMenuItem; 24 MenuItem17: TMenuItem; 24 25 MenuItemColumns: TMenuItem; 25 26 MenuItem3: TMenuItem; … … 80 81 procedure UpdateInterface; 81 82 procedure SettingsChanged; 83 procedure ToggleFullScreen; 82 84 end; 83 85 … … 249 251 UpdateFormTitle; 250 252 CoolBar1.Visible := MenuItemToolbar.Checked; 253 Core.Core.AFullScreen.Checked := FullScreen; 251 254 end; 252 255 … … 259 262 end; 260 263 264 procedure TFormMain.ToggleFullScreen; 265 begin 266 FullScreen := not FullScreen; 267 Core.Core.AFullScreen.Checked := FullScreen; 268 TFormEx.PersistentForm.Save(Self); 269 TFormEx.PersistentForm.SetFullScreen(FullScreen); 270 UpdateInterface; 271 end; 272 261 273 end. 262 274
Note:
See TracChangeset
for help on using the changeset viewer.