Changeset 50 for trunk/LocalPlayer/Select.pas
- Timestamp:
- Jan 11, 2017, 5:26:09 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LocalPlayer/Select.pas
r41 r50 100 100 inherited; 101 101 Canvas.Font.Assign(UniFont[ftNormal]); 102 sb := TPVScrollbar.Create; 102 103 CreatePVSB(sb, Handle, 2, 361, 2 + 422); 103 104 InitButtons(); … … 114 115 procedure TListDlg.FormDestroy(Sender: TObject); 115 116 begin 116 ScienceNationDot.Free; 117 FreeAndNil(sb); 118 FreeAndNil(ScienceNationDot); 117 119 end; 118 120 … … 120 122 begin 121 123 Closable := true; 122 Close 124 Close; 123 125 end; 124 126 125 127 procedure TListDlg.FormCloseQuery(Sender: TObject; var CanClose: boolean); 126 128 begin 127 CanClose := Closable or not(Kind in MustChooseKind) 129 CanClose := Closable or not(Kind in MustChooseKind); 128 130 end; 129 131 … … 133 135 begin 134 136 Sel := -2; 135 SmartUpdateContent(true) 136 end 137 SmartUpdateContent(true); 138 end; 137 139 end; 138 140 … … 145 147 PaintBox1MouseMove(nil, [], m.lParam and $FFFF - Left, 146 148 m.lParam shr 16 - Top); 147 end 149 end; 148 150 end; 149 151 … … 154 156 line(Canvas, Sel, false, false); 155 157 Sel := -2; 156 end 158 end; 157 159 end; 158 160 … … 183 185 LoweredTextOut(Canvas, -2, MainTexture, 184 186 (ClientWidth - BiColorTextWidth(Canvas, s)) div 2, ClientHeight - 29, s); 185 end 187 end; 186 188 end; 187 189
Note:
See TracChangeset
for help on using the changeset viewer.