Changeset 81 for trunk/Forms
- Timestamp:
- Aug 5, 2016, 10:22:51 AM (8 years ago)
- Location:
- trunk/Forms
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.lfm
r74 r81 12 12 OnCreate = FormCreate 13 13 OnDestroy = FormDestroy 14 OnHide = FormHide 14 15 OnShow = FormShow 15 16 LCLVersion = '1.6.0.4' … … 23 24 ClientHeight = 395 24 25 ClientWidth = 631 25 TabOrder = 026 TabOrder = 1 26 27 object CheckBoxExactMath: TCheckBox 27 28 Left = 8 … … 79 80 ParentShowHint = False 80 81 ShowHint = True 81 TabOrder = 182 TabOrder = 0 82 83 object ToolButton1: TToolButton 83 84 Left = 1 -
trunk/Forms/UFormMain.pas
r79 r81 103 103 procedure CoolTranslator1Translate(Sender: TObject); 104 104 procedure EditSearchChange(Sender: TObject); 105 procedure FormHide(Sender: TObject); 105 106 procedure FormShow(Sender: TObject); 106 107 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction); … … 188 189 end; 189 190 191 procedure TFormMain.FormHide(Sender: TObject); 192 begin 193 PersistentForm1.Save(Self); 194 end; 195 190 196 procedure TFormMain.FormClose(Sender: TObject; var CloseAction: TCloseAction); 191 197 begin … … 339 345 begin 340 346 Show; 347 BringToFront; 341 348 end; 342 349 … … 377 384 PersistentForm1.Load(Self); 378 385 UpdateInterface; 386 ListViewFilter1.StringGrid.SetFocus; 379 387 end; 380 388 … … 439 447 procedure TFormMain.TrayIcon1Click(Sender: TObject); 440 448 begin 441 Visible := not Visible;442 if Visible then BringToFront;449 if not Visible then AShow.Execute 450 else Hide; 443 451 end; 444 452
Note:
See TracChangeset
for help on using the changeset viewer.