Dialog Methods and Statements

HostExplorer Programming

Dialog Methods and Statements

3270 5250 VT

You can use Dialog methods and statements only when there is an active dialog box on the screen. In other words, only the method that was associated with the active dialog box in the BeginDialog statement can call these methods.

DialogFunc—Implements the dynamic dialog capabilities. Not supported by Hummingbird Basic.

DlgControlld—Returns the numeric ID of a dialog box control.

DlgCount—Returns the number of dialog box items in the dialog box. Not supported by Hummingbird Basic.

DlgEnable (method)—Indicates whether a control is enabled or disabled.

DlgEnable (statement)—Enables or disables a dialog box control.

DlgEnd—Closes the dialog box.

DlgFocus—Sets the focus to a dialog box control.

DlgListBoxArray (method)—Returns the contents of a list box or combo box.

DlgListBoxArray (statement)—Sets the contents of a list box or combo box.

DlgName—Returns the field name. Not supported by Hummingbird Basic.

DlgNumber—Returns the number of the expression that returns a string result. Not supported by Hummingbird Basic.

DlgSetPicture—Changes the picture in a picture dialog box control for the current dialog box. Not supported by Hummingbird Basic.

DlgText (method)—Returns the text associated with a dialog box control.

DlgText (statement)—Sets the text associated with a dialog box control.

DlgType—Returns a string value indicating the type of expression that returns a numeric result. Not supported by Hummingbird Basic.

DlgValue (method)—Returns the value associated with a dialog box control.

DlgValue (statement)—Sets the value associated with a dialog box control.

DlgVisible (method)—Indicates whether a control is enabled or disabled.

DlgVisible (statement)—Shows or hides a dialog box control.