|
|||||||
Uncommon Knowledge - WC_WINDOW_ACTION%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 1 Toggle table mode 2 Print window/browse list 4 Pan mode 8 Move mode 12 Resize mode On certain processes WC_Reset% must be set to force recognition of the WC_Window_Action% status. Post Init If 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. Dflt If 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 Prompt If 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. Edit On 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 Prompt On 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. Perpetual On 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. Softkey On 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) |
|||||||
| |||||||