UI_DLG_HELP()

Syntax

UI_DLG_HELP( [ Help_Topic as C ] )

Argument

Description

Help_Topic

The name of the help topic.

Description

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

Supported By

Alpha Five Version 5 and Above

Limitations

Desktop applications only.

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%)   

See Also

Xdialog Function Reference, {INCLUDE}