Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 29 APR 1998 02:48:19PM Bruce Cameron wrote:

I have an app. that launches MDI child's from a main MDI form.

Within some of the child forms the user can launch a popup or a external routine to "find" an item. (Table row)

If the user selects (hilites) an entry in the popup/find window I pass it to the form setting the property to QBFLIST then sending a READ.

I would like the popup/find window to not close and to still be available to the user (either by using alt+tab or RE-clicking the popup/find button) to select another entry without having to re-invent the wheel (i.e. re-launch read/selected items/rows)

What options do I have for doing this and can anyone provide any sample(s)?

Thanks


At 29 APR 1998 05:30PM Don Bakke wrote:

Bruce,

To accomplish this you need to convert a Popup from modal dialog box into a modeless dialog box. You will have to modify the source to get this to work or create your own solution.

You also have to be prepared for handling the logic differently because the parent form that launched the popup isn't waiting for a response anymore, since modeless dialogs just get launched and control is immediately returned back to the parent form. So any logic that would update control contents and/or call READ events would have to occur within the event code of the dialog box - which makes your popups, et al, difficult to be universal.

Furthermore, my hunch is that since dialog boxes that get called from within an MDI Frame have the MDI Frame as the parent (as opposed to a particular MDI Child), closing the relevant child won't close the dialog box as you might hope to happen. Therefore you'll need extra logic in the CLOSE event of the child to check for any running dialog boxes and shut them down that way.

Hope that gives you a better picture of what is required. If you have any more questions then let me know.

[email protected]

SRP Computer Solutions

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/c16f50b5332483b1852565f500674d38.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1