30.04.2013 Views

wIntegrate 6.2.0: Host Subroutines Reference - Rocket Software

wIntegrate 6.2.0: Host Subroutines Reference - Rocket Software

wIntegrate 6.2.0: Host Subroutines Reference - Rocket Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

WIN.DBATTACH<br />

Syntax<br />

WIN.DBATTACH ( DLGNAME, PARENT, ERR )<br />

Description<br />

WIN.DBATTACH<br />

This subroutine attaches a modal dialog box to an existing dialog. When a dialog box<br />

is attached, the parent dialog cannot receive input until the attached box is closed.<br />

Parameters<br />

The following table describes the parameters of the WIN.DBATTACH command:<br />

Parameter Description<br />

DLGNAME Specifies the dialog box to display.<br />

PARENT Specifies the main dialog box.<br />

ERR Returns an error code. 0 = No error 1 = Missing the<br />

dialog box name 2 = Dialog box is already<br />

displayed 3 = Dialog box is not loaded 4 = Unable<br />

to create dialog box window<br />

Example<br />

This example prints an error message if there is an error attaching the dialog.<br />

CALL WIN.DBATTACH(DBSURE, DBXNAME, ERR)<br />

IF ERR THEN PRINT "CANT ATTACH SURE DIALOG ":ERR; RETURN<br />

Related <strong>Subroutines</strong><br />

WIN.DBSHOW<br />

Related Script Commands<br />

DialogBox Show<br />

42 <strong>Host</strong> <strong>Subroutines</strong> <strong>Reference</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!