Feature #12036
implement conversion support for CONTEXT-HELP, CONTEXT-HELP-FILE and CONTEXT-HELP-ID
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
Due date:
% Done:
0%
billable:
No
vendor_id:
GCD
case_num:
version_reported:
version_resolved:
reviewer:
production:
No
env_name:
topics:
Related issues
History
#1 Updated by Greg Shah 14 days ago
implement conversion support for CONTEXT-HELP, CONTEXT-HELP-FILE and CONTEXT-HELP-ID as runtime stubs¶
Project: User Interface
Problem¶
CONTEXT-HELP and CONTEXT-HELP-FILE are frame options for Windows context-sensitive help: CONTEXT-HELP puts a question mark button in a dialog's title bar, CONTEXT-HELP-FILE names the help file, and the CONTEXT-HELP-ID widget option selects the topic. For example:
DEFINE FRAME Dialog-Frame ... WITH VIEW-AS DIALOG-BOX CONTEXT-HELP CONTEXT-HELP-FILE "app.hlp". DEFINE BUTTON bn_ok LABEL "OK" CONTEXT-HELP-ID 0.
Neither frame option converts and neither has a runtime; the gap marking records both as None / None. Context-sensitive help depends on the Windows help engine, which a converted system, and especially a web client, does not have. But a program that uses these options has to convert and run.
Work¶
- Convert the
CONTEXT-HELPandCONTEXT-HELP-FILEframe options and theCONTEXT-HELP-IDwidget option, in frame definitions and frame phrases, including the forms the AppBuilder generates. - Provide the attributes at runtime so that they can be read and assigned:
CONTEXT-HELP,CONTEXT-HELP-FILEandCONTEXT-HELP-IDstore and return their values. - Do not show a help button and do not call any external help engine.
- Check that
SYSTEM-HELPand the HELP key (applhelp.pon the PROPATH) convert and run in the same programs. - Update the gap marking to Full conversion and Stubs at runtime.
Testcases¶
- A dialog with
CONTEXT-HELPonly, one withCONTEXT-HELP-FILEnaming a file that does not exist, and buttons withCONTEXT-HELP-ID: each converts, runs and returns the stored values.
#2 Updated by Greg Shah 11 days ago
- Related to Feature #12078: reproduce OpenEdge behaviour for SYSTEM-HELP, the HELP key and CONTEXT-HELP added