Call a dialog box from another dialog box
Call a dialog box from another dialog box
(OP)
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
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





RE: Call a dialog box from another dialog box
I would ask this question in the Siemens PLM languages support forum:
htt
Interactively on the UI, you can assign a macro, vb script, or API program to a tool bar button.
Mark Rief
Product Manager
Siemens PLM