Simple Embedded Dialog Box

Description

This example creates a dialog box named "Embedded" with a second dialog box named "frame1" inside it. The second dialog box does nothing more than to display some text.

ui_dlg_box("Embedded",<<%dlg%
{startup=init}
{embedded=60,15frame1};
{line=1,0};
;
%dlg%,<<%code%
if a_dlg_button = "init" then
    ui_modeless_dlg_box("frame1",<<%dlg%
    This is an embedded dialog box;
    %dlg%,<<%code2%
    1=1
    %code2%)
end if
%code%)

Limitations

Desktop applications only

See Also