Changeset 346 for trunk/LocalPlayer/Select.pas
- Timestamp:
- Apr 6, 2021, 7:19:02 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Select.pas
r340 r346 45 45 private 46 46 Kind: TListKind; 47 LineDistance, MaxLines, cixProject, pView, Sel, DispLines, Layer, nColumn, 48 TechNameSpace, ScienceNation: integer; 47 LineDistance: Integer; 48 MaxLines: Integer; 49 cixProject: Integer; 50 pView: Integer; 51 Sel: Integer; 52 DispLines: Integer; 53 Layer: Integer; 54 nColumn: Integer; 55 TechNameSpace: Integer; 56 ScienceNation: Integer; 49 57 sb: TPVScrollbar; 50 58 Lines, FirstShrinkedLine: array [0 .. MaxLayer - 1] of integer; 51 59 code: array [0 .. MaxLayer - 1, 0 .. 4095] of integer; 52 60 Column: array [0 .. nPl - 1] of integer; 53 Closable, MultiPage: boolean; 61 Closable: Boolean; 62 MultiPage: Boolean; 54 63 ScienceNationDotBuffer: TBitmap; 55 64 procedure ScrollBarUpdate(Sender: TObject); … … 58 67 function RenameCity(cix: integer): boolean; 59 68 function RenameModel(mix: integer): boolean; 60 procedure OnScroll(var m: TMessage); message WM_VSCROLL;69 procedure OnScroll(var Msg: TMessage); message WM_VSCROLL; 61 70 procedure OnMouseLeave(var Msg: TMessage); message CM_MOUSELEAVE; 62 71 public … … 133 142 end; 134 143 135 procedure TListDlg.OnScroll(var m: TMessage);144 procedure TListDlg.OnScroll(var Msg: TMessage); 136 145 begin 137 146 { TODO: Handled by MouseWheel event 138 if sb.Process( m) then begin147 if sb.Process(Msg) then begin 139 148 Sel := -2; 140 149 SmartUpdateContent(true);
Note:
See TracChangeset
for help on using the changeset viewer.