TableTool.TIP
Created by Rick Beach, September 23, 1984 9:09:25 pm PDT
[DEF,ClickTime,(200)]
[DEF,DownClick,(~1 Down BEFORE [ClickTime])]
[DEF,UpClick,(~1 Up BEFORE [ClickTime])]
[DEF,Click,([UpClick,~1] AND [DownClick,~1])]
[DEF,BothUp,(~1 Up WHILE ~2 Up)]
[DEF,CTRL,(Ctrl Down | Spare3 Down)]
[DEF,IfCtrl,(SELECT ENABLE FROM
[CTRL] => ~1;
ENDCASE => ~2)]
[DEF,SHIFT,(LeftShift Down | RightShift Down)]
[DEF,IfShift,(SELECT ENABLE FROM
[SHIFT] => ~1;
ENDCASE => ~2)]
SELECT TRIGGER FROM -- top level trigger select
mouse buttons and mouse movement
Select Box: left mouse button
Select Column: click middle mouse button
Select Row: middle mouse button
Extend Row selection: right mouse button in adjacent row
Extend Column selection: right mouse button in adjacent column
Delete Row: select rows; CTRL down and right mouse button in selected row
Delete Column: select columns; double-click CTRL down and right mouse button in selected column
Duplicate Row and Insert Before: select rows; left-shift down and right mouse button in selected row
Duplicate Row and Insert After: select rows; right-shift down and right mouse button in selected row
Duplicate Column and Insert Before: select columns; double-click left-shift down and right mouse button in selected column
Duplicate Column and Insert After: select columns; double-click right-shift down and right mouse button in selected column
Transpose table: select any box; TAB up
Make Row Header: select rows; CTRL down and TAB up
Make Column Header: select columns; double-click CTRL down and TAB up
Append Row to table: select row; SHIFT down and TAB up
Append Column: select column; double-click SHIFT down and TAB up
Red Down => SELECT ENABLE FROM
[CTRL] => { Coords };
[SHIFT] => { Coords };
ENDCASE => { Coords SelBox };
Yellow Down => SELECT TRIGGER FROM
[Click,Yellow] => { Coords SelCol };
ENDCASE => { Coords SelRow };
LeftShift Down => SELECT TRIGGER FROM
[Click,LeftShift] => { InsertBefore Column };
ENDCASE => { InsertBefore Row };
RightShift Down => SELECT TRIGGER FROM
[Click,RightShift] => { InsertAfter Column };
ENDCASE => { InsertAfter Row };
Ctrl Down => SELECT TRIGGER FROM
[Click,Ctrl] => { Column };
ENDCASE => { Row };
Blue Down => SELECT ENABLE FROM
[BothUp,Red,Yellow] => SELECT TRIGGER FROM
[Click,Blue] => SELECT TRIGGER FROM
[Click,Blue] => { Coords SelExpand };
ENDCASE => { Coords SelReduce };
ENDCASE => { Coords SelExtend };
ENDCASE;
Mouse => SELECT ENABLE FROM
Red Down => SELECT ENABLE FROM
[CTRL] => { Coords };
[SHIFT] => { Coords };
ENDCASE => { Coords SelUpdate };
Yellow Down => { Coords SelUpdate };
Blue Down => { Coords SelExtend };
ENDCASE;
Red Up => SELECT ENABLE FROM
[CTRL] => { Coords DeleteSelection };
[SHIFT] => { Coords DuplicateRowOrCol };
ENDCASE => { Coords SelBox };
Yellow Up => SELECT ENABLE FROM
Blue Down WHILE Red Up => {};
ENDCASE => { DoEdit };
Blue Up => { DoEdit };
TAB Up => SELECT ENABLE FROM
[CTRL] => { Coords MakeRowOrColHeader };
[SHIFT] => { Coords AppendRowOrCol };
ENDCASE => { Coords TransposeTable };
ENDCASE.