Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call a dialog box from another dialog box

Status
Not open for further replies.

Zoes

Mechanical
Sep 30, 2011
46
GB
Hi

Being very interested in GUIs wanted to ask, how can I call a dialog box from another dialog box? Will be the code be similar to the one bellow?

How we implement an action button so can call a dlx? or open a macro?

'call .dlx
theDialogName = "list_box_bitmap.dlx"
theUI = UI.GetUI()
theDialog = theUI.CreateDialog(theDialogName)
theDialog.AddApplyHandler(AddressOf apply_cb)
theDialog.AddOkHandler(AddressOf ok_cb)
theDialog.AddUpdateHandler(AddressOf update_cb)
theDialog.AddInitializeHandler(AddressOf initialize_cb)
theDialog.AddDialogShownHandler(AddressOf dialogShown_cb)
theDialog.Show()

Thank you,
Zoes
 
Replies continue below

Recommended for you

Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top