Changeset 510 for Common/UPersistentForm.pas
- Timestamp:
- Apr 11, 2018, 11:22:58 AM (7 years ago)
- Location:
- Common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Common
- Property svn:ignore
-
old new 1 1 lib 2 2 backup 3 *.lrj
-
- Property svn:ignore
-
Common/UPersistentForm.pas
r491 r510 56 56 I: Integer; 57 57 WinControl: TWinControl; 58 Count: Integer;59 58 begin 60 59 if Control is TListView then begin … … 217 216 218 217 procedure TPersistentForm.Load(Form: TForm; DefaultMaximized: Boolean = False); 219 var220 LoadDefaults: Boolean;221 218 begin 222 219 Self.Form := Form; … … 230 227 231 228 if not EqualRect(FormNormalSize, FormRestoredSize) or 232 (LoadDefaults and DefaultMaximized)then begin229 DefaultMaximized then begin 233 230 // Restore to maximized state 234 231 Form.WindowState := wsNormal;
Note:
See TracChangeset
for help on using the changeset viewer.