Commit 3a52256

Nick committed on
Add tabbing through columns
commit 3a522566c057bc382019d8d975871ec8f011e841 parent 9c63d70
1 changed files +10−4
Modifiedtrackergrid.pas +10−4
@@ -362,9 +362,15 @@ begin
362 VK_NEXT: Inc(Cursor.Y, 16); 362 VK_NEXT: Inc(Cursor.Y, 16);
363 VK_LEFT: DecSelectionPos(Cursor); 363 VK_LEFT: DecSelectionPos(Cursor);
364 VK_RIGHT: IncSelectionPos(Cursor); 364 VK_RIGHT: IncSelectionPos(Cursor);
365 {VK_TAB: begin 365 VK_TAB: begin
366 if ssShift in Shift then Dec(Cursor.X) else Inc(Cursor.X); 366 if ssShift in Shift then begin
367 end} 367 Dec(Cursor.X);
368 Exclude(Shift, ssShift)
369 end
370 else
371 Inc(Cursor.X);
372 Key := 0;
373 end
368 else 374 else
369 if (not (ssCtrl in Shift)) and (not (ssShift in Shift)) then 375 if (not (ssCtrl in Shift)) and (not (ssShift in Shift)) then
370 case Cursor.SelectedPart of 376 case Cursor.SelectedPart of
@@ -381,10 +387,10 @@ begin
381 387
382 if not (ssShift in Shift) then 388 if not (ssShift in Shift) then
383 Other := Cursor; 389 Other := Cursor;
390
384 Selecting := ssShift in Shift; 391 Selecting := ssShift in Shift;
385 392
386 ClampCursors; 393 ClampCursors;
387
388 Invalidate 394 Invalidate
389 end; 395 end;
390 396