ANSI efficiency updates
This commit is contained in:
parent
0e1d340d24
commit
b0cf4b2ac8
|
@ -479,13 +479,13 @@ Begin
|
||||||
Picked := ListMax;
|
Picked := ListMax;
|
||||||
Update;
|
Update;
|
||||||
End;
|
End;
|
||||||
#80 : Begin { down arrow }
|
#80 : If Picked < ListMax Then Begin
|
||||||
If Picked < ListMax Then Inc (Picked);
|
Inc (Picked);
|
||||||
If Picked > TopPage + WinSize - 1 Then Inc (TopPage);
|
If Picked > TopPage + WinSize - 1 Then Inc (TopPage);
|
||||||
Update;
|
Update;
|
||||||
End;
|
End;
|
||||||
#77,
|
#77,
|
||||||
#81 : If ListMax > 0 Then Begin { page down / right arrow }
|
#81 : If (Picked <> ListMax) Then Begin { pgdn/right }
|
||||||
If ListMax > WinSize Then Begin
|
If ListMax > WinSize Then Begin
|
||||||
If Picked + WinSize > ListMax Then
|
If Picked + WinSize > ListMax Then
|
||||||
Picked := ListMax
|
Picked := ListMax
|
||||||
|
|
Loading…
Reference in New Issue