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 10 FEB 1998 10:49:36AM B Cameron wrote:

I have an MDIFRAME that launches a child from the mdi menu.

In that child form (a) I have a button that passes a selected value to

launch another form (b), for example

Parent=Get_Property(@WINDOW,"MDIFRAME")

data .DATA-]TEXT

x=Dialog_Box(form (b), Parent, data)

Within the create event of form (b) if "CreateParam" is not null then

a "READ" is performed.

Now if form (b) has a "launch" buttom for say form © (replacing (b) in dialog_box), the form © will not launch because of the "parent" variable I assume?

How can I accomplish this?


At 10 FEB 1998 05:55PM Cameron Revelation wrote:

Bruce,

I didn't follow the question. If you are asking about launching a dialog box with an MDI child as a parent, that works as of release 3.5. Previous you had to get the MDIFRAME and use it as the parent. (That is now done automatically in the Dialog_Box implementation.)

Cameron Purdy

Revelation Software


At 11 FEB 1998 06:06AM Carl Pates wrote:

If you launch a DialogBox (b) with an MDIFrame as it's parent and then launch another DialogBox © from DialogBox (b), DialogBox ©'s parent will be (b) so you need to change your code thus…

Parent=Get_Property(@WINDOW,"MDIFRAME")

If Len( Parent ) Else

 Parent=@Window

End

data .DATA-]TEXT

x=Dialog_Box(form (b), Parent, data)

(which I believe is what the changes Cameron mentioned to Dialog_Box() in OI v3.5 accomplish….)

[email protected]

Sprezzatura Ltd

World Leaders in all things RevSoft (Except VIP)


At 11 FEB 1998 10:10AM B Cameron wrote:

Thanks alot Carl!

I will give it a shot…


At 11 FEB 1998 01:43PM B Cameron wrote:

Ahhh the painfully obvious and the simplistic beauty. Thanks!

View this thread on the forum...

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