Vroom
RTP Series - RTP32
Utility Diskette # 3 - Part I
Reader's Clinic - Page Marks in Windows
Playing with Scan Codes
Utility Diskette # 3 - Part I
Window or Not ?
Vroom - Window Processing
QTIPS - Window Symbol Tables
VROOM - Window Processing II
@ATTACK - @HW
Uncommon Knowledge - WC_Reset%
Reader's Clinic - Related Windows
Window or Not?
Reader's Clinic - Scribe Replace Processes in Window
Soft Windows
QTIPS - Window Bug and Debugging Window Bug
Overlapping Windows And Window Menus
QTIPS - New Catalyst Option
QTIPS - Collectors on the fly
QTIPS - Blank Menus in Windows
QTIPS - Moving Objects the EASY way.
RTP Series - RTP22
Reader's Clinic - Prompting for Passwords
@ATTACK - @Dest.Ed
@ATTACK - @Edit.Keys
A RevTechie Replies - And Miscellaneous Jottings - Mike Pope - Revelation Technologies (UK) Ltd
Uncommon Knowledge - WC_Except_Keys%
Reader's Forum
Reader's Clinic - Scribe Replace Processes in Window
Uncommon Knowledge - WC_Soft_Keys%
Readers Clinic - Unusual SCRIBE Behaviour
Reader's Clinic - LCEdit and SCRIBE
Spreadsheet Emulation in ARev Windows
Reader's Clinic - Preventing Records Being Amended
QTIPS - Finding/Replacing Spaces With The Editor
Reader's Clinic - Scribe Replace Processes in Window
Creating Your Own Background Processes
@ATTACK - @Last.Select.Process
Reader's Forum
QTIPS - Menu Item Pre-Processing
Merge Processor
Uncommon Knowledge - WC_Soft_Keys%
Reader's Clinic - Capture Command and Captured Keystrokes
Catalyst
Popups
Catalyst Tips
QTIPS - NoRead
Reader's Clinic - EVAL
QTIPS - New Catalyst Option
Playing with Scan Codes
QTIPS - Compiling Protection Code
QTIPS - Invalid Code and Command
QTIPS - Code/Command Help
Compiling 64K on a Shoestring by Blaise Wrenn (LexStat Systems Ltd)
QTIPS - Command Line Options
QTIPS - Invalid Code and Command
QTIPS - Code/Command Help
Utility Diskette # 4
Redefining Keys
Referential Integrity
@ATTACK - @Edit.Keys
@ATTACK - @Environ.Keys
@ATTACK - @Int.Const
@ATTACK - @Move.Keys
@ATTACK - @Priority.Int
@ATTACK - @Macro.Keys
@ATTACK - @Macro.Mode
Playing with Scan Codes
Uncommon Knowledge - WC_Unkeys%
Uncommon Knowledge - WC_Except_Keys%
Uncommon Knowledge - WC_Soft_Keys%
@ATTACK - @Edit.Keys
@ATTACK - @Int.Const
Uncommon Knowledge - WC_Soft_Keys%
QTIPS - Alt-C In Windows
@ATTACK - @Edit.Keys
@ATTACK - @Int.Const
Uncommon Knowledge - WC_Soft_Keys%
QTIPS - Alt-C In Windows
@ATTACK - @Edit.Keys
@ATTACK - @Move.Keys
Uncommon Knowledge - WC_Except_Keys%
Uncommon Knowledge - WC_Soft_Keys%
Reader's Clinic - Dynamic Screen Display
VERBatim - V65
QTIPS - Securing Menus
QTIPS - Invalid Code and Command
Uncommon Knowledge - WC_Soft_Keys%
Utility Diskette # 4
Uncommon Knowledge - Window_Common% in Paint - Part I
RevTi Just Wanna Have Fun
Uncommon Knowledge - Window_Common% in Paint - Part III
Reader's Clinic - Functions and Subroutines
Reader's Letters - Jim Owen
Playing with Scan Codes
Argument passing - Subroutines and Functions - Mike Pope
Redefining Keys
Background Processing
Capture
Creating Your Own Background Processes
@ATTACK - @Edit.Keys
@ATTACK - @Index.Time
@ATTACK - @PlayBack
@ATTACK - @Priority.Int
@ATTACK - @Prog.Char
How Indexes Are Updated
A RevTechie Replies - And Miscellaneous Jottings - Mike Pope - Revelation Technologies (UK) Ltd
QTIPS - Use of Mouse
QTIPS - Interrupt Proof Error Messages
Uncommon Knowledge - WC_Soft_Keys%
Version 3 Technical Highlights - Input.Char
Version 3 Technical Highlights - @Prog.Char
Version 3 Technical Highlights - Add_Buttons
Version 3 Technical Highlights - Highlight
Redefining Keys
@ATTACK - @Edit.Keys
@ATTACK - @Priority.Int
@ATTACK - @Macro.Keys
@ATTACK - @Macro.Mode
QTIPS - Interrupt Proof Error Messages
Uncommon Knowledge - WC_Soft_Keys%
@ATTACK - @Reduction.Done
QTIPS - Finding/Replacing Spaces With The Editor
QTIPS - Form Processor
QTIPS - Reusing Symbolics in Windows
Soft Windows
QTIPS - Query Windows - Changing Colours
Reader's Clinic - Template Name at Pre-Init
Caching in on the Frames Array - Mike Pope
Advanced Revelation Assembler Interface Module - Yves Pattyn, Technical Manager, Distribase, France
New "Soft" Functionality
Uncommon Knowledge - WC_Soft_Data%
Uncommon Knowledge - WC_Soft_Keys%
Popups
Catalyst Tips
QTIPS - Using @Upper.Case and @Lower.Case with Foreign Languages
@ATTACK - @Lower.Case
@ATTACK - @Upper.Case
Sorting out Collation Sequences by Mike Pope

RevMedia FKB

DocumentV3I9A9
TitleUncommon Knowledge - WC_Soft_Keys%
KeywordsWINDOW_COMMON%
WC_SOFT_KEYS%
WC_SOFT_DATA%
SCRIBE
@INT.CONST
@MOVE.KEYS
PAINT
INPUT.CHAR
@PRIORITY.INT
WC_WEXIT_KEYS%
TextA field mark delimited list of scan codes ASSOCIATED WITH the softkeys for
the window Upon return FROM SCRIBE (or the replace SCRIBE process if
nominated) the first thing that the window processor tries to do is to
locate the last key pressed in WC_Soft_Keys% If it succeeds it will call
the appropriate catalyst code and command failing that it will try to
locate the keystroke in the window specific keys in @Int Const then the
general editing keys in @Move Keys etc

Note that although the PAINT processor expects the developer to use a scan
code for SF1 10 or AF1 10 here the developer may replace the scan code for
the function key WITH the scan code for ANY key other than those trapped in
INPUT CHAR (i e those in @PRIORITY INT) This may be done programmatically
on a post initialise or USING the editor and modifying the scan codes
directly in the template record

Due to this it is possible to have as many soft keys for a window as you
wish to define just ensure that the scan codes are in WC_Soft_Keys% and
that a corresponding code and command is in WC_Soft_Data% Note though that
whilst this will always work if the Soft Key is called FROM the F6 popup it
will not always work if the key is pressed DIRECTLY To understand why this
is the case it is necessary to understand how the SCRIBE/WINDOW combination
works When WINDOW CALLS SCRIBE it passes a list of keys (in WC_WExit_Keys%)
which ought to cause SCRIBE to return CONTROL to the WINDOW processor This
list is constructed at initialisation FROM @INT CONST some of @MOVE KEYS
WC_Soft_Keys% WC_RELATED_KEYS% and it would seem a hard coded Alt C (for
copy record) When one of these keys is pressed control is returned to
Window and Window works out what to do

If Scan Codes have been added programmatically into Soft_Keys AND THEY WERE
NOT PREVIOUSLY IN THE ORIGINAL WC_WEXIT_KEYS% then they will not cause
SCRIBE to EXIT and will thus never be recognised Thus WC_WEXIT_KEYS% must
be updated to contain any new Scan Codes added to WC_Soft_Keys%

NB The VARIABLE is called WC_WEXIT_KEYS% not WC_EXIT_KEYS% as might at
first seem appropriate

Thus to MAKE the F9 key CALL a USER DEFINED SUBROUTINE instead of saving the
window the following post initialise process could be used (NB this code
assumes that no Softkeys have previously been DEFINED for the window it
will overwrite them if they have) ;

Subroutine Reassign_F9
$INSERT INCLUDE WINDOW_COMMON%
WC_Soft_Keys% = char(0) : char(67)
WC_Soft_Data% = ""
WC_Soft_Data%<1 3> = "S"
WC_Soft_Data%<1 4> = "REP_SAVE"
Return

To make Alt L call a user DEFINED subroutine the post initialise process
would need to be changed as follows ;

Subroutine Reassign_Alt_L
$insert INCLUDE WINDOW_COMMON%
WC_Soft_Keys% = char(0) : char(38)
WC_Soft_Data% = ""
WC_Soft_Data%<1 3> = "S"
WC_Soft_Data%<1 4> = "REP_ALT_L"
WC_WExit_Keys%< 1> = char(0) : char(38)
Return


(Volume 3 Issue 9 Pages 13 14)
[revmedia/copyrigh.htm]

Page last modified: 08/02/03