Changeset 81 for trunk/Forms/UFormMain.pas
- Timestamp:
- Aug 5, 2016, 10:22:51 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.