2, click on the scroll bar, the arrow, what events trigger?
Thank you for your attention
CodePudding user response:
Procedure TCustomGrid. WMVScroll (var Msg: TWMVScroll);The begin
ModifyScrollBar (SB_VERT, Msg. ScrollCode, Msg. Pos, True);
end;
Procedure TCustomGrid. WMHScroll (var Msg: TWMHScroll);
The begin
ModifyScrollBar (SB_HORZ, Msg. ScrollCode, Msg. Pos, True);
end;
Trigger the two events, as to determine whether to reach the bottom, need to manually