Launch MDIchild then form then form then form ... (OpenInsight Specific)
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=@WindowEnd
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….)
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!