Changeset 244 for branches/highdpi/Log.pas
- Timestamp:
- May 21, 2020, 6:42:45 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/Log.pas
r210 r244 10 10 type 11 11 TLogDlg = class(TDpiForm) 12 LogPopup: T PopupMenu;13 mLog0: T MenuItem;14 mLog1: T MenuItem;15 mLog2: T MenuItem;16 mLog3: T MenuItem;17 N1: T MenuItem;18 mClear: T MenuItem;19 mSlot: T MenuItem;20 N2: T MenuItem;21 mInvalid: T MenuItem;22 mTime: T MenuItem;12 LogPopup: TDpiPopupMenu; 13 mLog0: TDpiMenuItem; 14 mLog1: TDpiMenuItem; 15 mLog2: TDpiMenuItem; 16 mLog3: TDpiMenuItem; 17 N1: TDpiMenuItem; 18 mClear: TDpiMenuItem; 19 mSlot: TDpiMenuItem; 20 N2: TDpiMenuItem; 21 mInvalid: TDpiMenuItem; 22 mTime: TDpiMenuItem; 23 23 List: TMemo; 24 mNegotiation: T MenuItem;24 mNegotiation: TDpiMenuItem; 25 25 procedure mLogClick(Sender: TObject); 26 26 procedure FormCreate(Sender: TObject); … … 60 60 procedure TLogDlg.mLogClick(Sender: TObject); 61 61 begin 62 MaxLevel := T MenuItem(Sender).Tag;63 T MenuItem(Sender).Checked := true;62 MaxLevel := TDpiMenuItem(Sender).Tag; 63 TDpiMenuItem(Sender).Checked := true; 64 64 end; 65 65 … … 124 124 procedure TLogDlg.Toggle(Sender: TObject); 125 125 begin 126 T MenuItem(Sender).Checked := not TMenuItem(Sender).Checked;126 TDpiMenuItem(Sender).Checked := not TDpiMenuItem(Sender).Checked; 127 127 end; 128 128
Note:
See TracChangeset
for help on using the changeset viewer.