tips:revmedia:v4i1a15

Uncommon Knowledge - WC_WINDOW_ACTION%

Published ByDateVersionKnowledge LevelKeywords
Sprezzatura Ltd01 MAY 19922.12+EXPERTWC_WINDOW_ACTION%, WINDOW_COMMON%

A flag indicating what kind of action the window ought to take. Note that the behaviour of this flag variable depends very heavily upon the prompt type when setting the flag from the edit process. The behaviour from the post prompt process is, however, commendably consistent. The codes are

1Toggle table mode
2Print window/browse list
4Pan mode
8Move mode
12Resize mode

On certain processes WC_Reset% must be set to force recognition of the WC_Window_Action% status.

Post InitIf WC_Reset% < 4 WC_Window_Action% is ignored. WC_Reset% = 4 runs Default/Pre Prompt/Perpetual before entering mode. WC_Reset% = 5 runs Default/Pre Prompt before entering mode. WC_Reset% = 6 runs Default/Pre before closing window without entering mode.
DfltIf WC_Reset% < 4 then WC_Window_Action% is ignored. WC_Reset% = 4 runs Pre Prompt/Perpetual before entering mode. WC_Reset% = 5 runs Pre Prompt before entering mode. WC_Reset% = 6 runs Pre Prompt before closing window without entering mode.
Pre PromptIf WC_Reset% < 4 then WC_Window_Action% is ignored. WC_Reset% = 4 runs Perpetual before entering mode. WC_Reset% = 5 enters mode. WC_Reset% = 6 closes window.
EditOn a key prompt - if WC_Reset% is not set it is ignored. WC_Reset% = 2/3 runs Post Prompt/Perpetual/Pre Read/Rep Read/Post Read before entering mode. WC_Reset% = 4 runs Perpetual before entering mode. WC_Reset% = 5 just enters mode. WC_Reset% = 6 closes window. On a single valued prompt - If WC_Reset% is not set it is ignored. WC_Reset% = 2/3 runs Post/Perpetual before entering mode. WC_Reset% = 4 runs Perpetual before entering mode. WC_Reset% = 5 just enters mode. WC_Reset% = 6 closes window. On a grouped multi-valued prompt - Regardless of setting of WC_Reset% runs Post/Perpetual before entering mode. NB This even ignores a WC_Reset% of 6 and does not close the window. On a text prompt or a non-grouped multivalued prompt- Ignores any combination of WC_Reset% until the prompt is exited where it will act on a WC_Reset% value > 1. On exit a WC_Reset% value of 2/3 will run the Post/Perpetual before entering the mode. A WC_Reset% value of 4 will run the Perpetual process before entering the mode. WC_Reset% = 5 will just enter the mode. WC_Reset% = 6 will close the window.
Post PromptOn a key prompt - WC_Reset% = Null/1/2/3 runs Perpetual/Pre Read/Rep Read/Post Read before entering mode. WC_Reset% = 4 runs Perpetual before entering mode. WC_Reset% = 5 just enters mode. WC_Reset% = 6 closes window. On all other prompts - WC_Reset% = Null/1/2/3/4 runs Perpetual before entering mode. WC_Reset% = 5 just enters mode. WC_Reset% = 6 closes window.
PerpetualOn a key prompt - WC_Reset% = 6 closes the window. All other settings (including null) runs Pre Read/Rep Read/Post Read before entering mode. On all other prompts valued prompt - WC_Reset% = 6 closes the window. All other settings (including null) enters mode.
SoftkeyOn a key prompt - If the key field is empty or filled in and return pressed, if WC_Reset% is not set it is ignored. WC_Reset% = 2/3 runs Post Prompt/Perpetual before entering mode. WC_Reset% = 4 runs Perpetual before entering mode. WC_Reset% = 5 just enters mode. WC_Reset% = 6 closes window. If the key field is filled in but return has not been pressed yet, if WC_Reset% is not set it is ignored. WC_Reset% = 1/2 runs Edit/Post Prompt/Perpetual/Pre Read/Rep Read/Post Read before entering mode. WC_Reset% = 3 runs Post Prompt/ Perpetual/Pre Read/Rep Read/Post Read before entering mode. WC_Reset% = 4 runs Perpetual before entering mode. WC_Reset% = 5 just enters mode. WC_Reset% = 6 closes window. On all other prompts- If the field is empty or filled in and accepted, if WC_Reset% is not set it is ignored. WC_Reset% = 2/3 runs Post/Perpetual before entering mode. WC_Reset% = 4 runs Perpetual before entering mode. WC_Reset% = 5 just enters mode. WC_Reset% = 6 closes window. If the field is filled in but return has not been pressed yet, if WC_Reset% is not set it is ignored. WC_Reset% = 1 runs Edit/Post Prompt/Perpetual before entering mode. WC_Reset% = 2/3 runs Post Prompt/ Perpetual before entering mode. WC_Reset% = 4 runs Perpetual before entering mode. WC_Reset% = 5 just enters mode. WC_Reset% = 6 closes window.

(Volume 4, Issue 1, Pages 13,14)

  • tips/revmedia/v4i1a15.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1