Vroom
RTP Series - RTP32
Utility Diskette # 3 - Part I
Reader's Clinic - Page Marks in Windows
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%
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.
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
SecureUser
VERBatim - V25
@ATTACK - @Files.System
Advanced Revelation Initialisation Sequence (Overview) by Mike Pope
REVMEDIA Revisted
Uncommon Knowledge - WC_Unkeys%
Uncommon Knowledge - WC_Soft_Keys%
Uncommon Knowledge - WC_WEXIT_KEYS%
Uncommon Knowledge - WC_Unkeys%
Uncommon Knowledge - WC_Except_Keys%
Playing with Scan Codes
Utility Diskette # 3 - Part I
Uncommon Knowledge - WC_Unkeys%
@ATTACK - @Reduction.Done
Creating Your Own Background Processes
@ATTACK - @Last.Select.Process
Reader's Forum
QTIPS - Menu Item Pre-Processing
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
Viewer
VERBatim - V65
QTIPS - Using INIT.VIEW with Printers
REVMEDIA Revisited
QTIPS - Sub-Headings in RLIST (Revisited)
Reader's Clinic - Template Name at Pre-Init
Video Control
QTIPS - Using @Upper.Case and @Lower.Case with Foreign Languages
@ATTACK - @Lower.Case
@ATTACK - @Upper.Case
Sorting out Collation Sequences by Mike Pope
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)
VERBatim - V16
@ATTACK - @Int.Const
@ATTACK - @Move.Keys
@ATTACK - @Priority.Int
@ATTACK - @Macro.Mode
Uncommon Knowledge - WC_Unkeys%
Utility Diskette # 3 - Part I
Utility Diskette # 4
2.1 Highlights
REVMEDIA Revisited
SecureUser
VERBatim - V86
Advanced Revelation Initialisation Sequence (Overview) by Mike Pope
Playing with Scan Codes
What's New (and un(der)documented!) In 2.12
Reader's Clinic - Functions and Subroutines
Argument passing - Subroutines and Functions - Mike Pope
Prompt Help
VERBatim - V6
QTIPS - BASIC Options
The End of the Line - Mike Pope and Hal Wyman
@ATTACK - @Record
@ATTACK - @Reduction.Done
Collector Windows
Soft Windows
Reader's Clinic - Template Name at Pre-Init
QTIPS - Browse Lists in Collector Windows
Collector Windows
QTIPS - Collectors on the fly
Collector Windows
QTIPS - Reusing Symbolics in Windows
Merge Processor
VERBatim - V6
QTIPS - Suppressing Initial Form Feed
QTIPS - Using RTP29 In Place of V6
Vroom
Vroom - Window Processing
Reader's Forum
VROOM - Doubling MFS Write Speed
Redefining Keys
RTP Series - RTP53B
Prompt Help
VERBatim - V124
Popups
@ATTACK - @Environ.Set
@ATTACK - @Edit.Keys
@ATTACK - @Int.Const
@ATTACK - @HW
@ATTACK - @Modal
@ATTACK - @Move.Keys
@ATTACK - @Priority.Int
@ATTACK - @Macro.Mode
Utility Diskette # 3 - Part I
Utility Diskette # 3 - Part II
Utility Diskette # 4

RevMedia FKB

DocumentV3I10A13
TitleUncommon Knowledge - WC_Unkeys%
KeywordsWINDOW_COMMON%
WC_UNKEYS%
EDIT.KEYS
WC_WEXIT_KEYS%
WC_EXCEPT_KEYS%
TextA field mark delimited list of keys which are to be disabled in the window
Primarily used to link to the "Key Disable" option in Paint This variable
is used by the system to modify WC_WExit_Keys% and WC_Except_Keys% (q v ) by
swapping out the appropriate scan codes for the literal "!!" in these
variables Thus once these VARIABLES have been changed they are no longer
affected by the contents of WC_UnKeys%

As this swapping seems to be done AFTER the Pre_Init process it is possible
to amend WC_UnKeys% at the Pre_Init process by DIRECTLY modifying @RECORD
which contains the CURRENT template record This has the effect of changing
the disabled keys in the window Note that this means that WC_UnKeys% can
only be effectively modified at the Pre Init stage AFTER this it is not
referenced again

Note further that the same effect could be achieved anywhere in the window
by swapping the appropriate scan codes for the literal "!!" in
WC_WExit_Keys% and WC_Except_Keys% (q v ) In either case rather than
looking for the scan code itself one should use the EDIT KEYS include record
look to ensure that if the user has remapped the keyboard that the scan code
will still be found

There follows an EXAMPLE piece of code to illustrate the use of WC_UnKeys%
in a pre init process

Subroutine Kill_Refresh
$Insert Include Edit Keys
Equ Dlm$ To Char(247)
* Get Unkeys FROM @Record FROM pos 43 delimited by char(247)s
Un = Field(@Record Dlm$ 43)
Un< 1> = Refresh Key
@Record=Fieldstore(@Record Dlm$ 43 1 Un)
Return

Normally this should be sufficient however under some circumstances (such
as WITH some collector windows and some releases of the software) this might
not be enough as Curt Putnam points out "the window processor sets flags
within the body of the template record to indicate whether there are any
further options to process" This helps speed up the loading process These
flags are referred to in the TEMPLATE record in UTILITY DOC as OPTIONS1 and
OPTIONS2 and are found in positions 20 and 35 respectively (delimited by
char(247)s)

Normally these FLAGS are ALWAYS set as the system sets recalculate options
and WC_Atr_Ovr% automatically upon save and this is enough to trigger them
If however you FIND that the above code does not work on the release of AREV
you are working WITH try amending it by inserting the following two lines
after the @Record = FIELDSTORE LINE

* Set Options1
@Record=Fieldstore(@Record Dlm$ 20 1 1)
* Set Options2
@Record=Fieldstore(@Record Dlm$ 35 1 1)


(Volume 3 Issue 10 Pages 11 12)
[revmedia/copyrigh.htm]

Page last modified: 08/02/03