Skip to main content
Known Participant
December 24, 2007
Question

Most Significant way of Passing a PMString between a panel and a Dialog

  • December 24, 2007
  • 1 reply
  • 253 views
I am calling a dialog from a Panel when a certain button on the panel is clicked,
In the Dialog I have an Edit Box, User can write any Strig in that Edit box and when he clicks on OK button Dialog closes and I want that string once the control is back on the panel.

so i need to know which is the most significat way to acheive this, Should i use DataExchanger or something else to be used here in this case.

Thanks,
Rizwan
This topic has been closed for replies.

1 reply

Inspiring
December 24, 2007
IDialog.h:

/* Place the dialog on the screen. You can pass in the owner panel (i.e. the panel who opens the dialog). This will make the panel available in the dialog controller. */
virtual void Open(IControlView* ownerPanel = nil) = 0;

IDialogController.h

/* Get the owner panel of this dialog. */
virtual IControlView* GetOwner() const = 0;

You could for example add any string data interface to your panel's boss for storage.