Xbasic

UI_DLG_HELP Function

Syntax

V UI_DLG_HELP([C help_topic])

Arguments

help_topic

The name of the help topic.

Description

The UI_DLG_HELP() function displays a help topic for the current dialog.

Example

help_file_name = a5.Get_Path()+"\learningxdialog.hlp"
field_1_help = "{help="+help_file_name+":"+"Field 1"+"}"
field_2_help = "{help="+help_file_name+":"+"Field 2"+"}"
ui_dlg_box("Title",<<%dlg%
{region}
{include=field_1_help}
Field 1: [.30field1];
{include=field_2_help}
Field 2: [.30field2]
{endregion}|
{region}
<*10&OK>;
<10&Cancel>;
<15&Help>
{endregion}
%dlg%,<<%code%
if a_dlg_button = "&Help" then
a_dlg_button = ""
ui_dlg_help(help_file_name+":Main Help")
end if
%code%)

Limitations

Desktop applications only.

See Also