Passing data.. MDI-]Child-]Form-]Child (OpenInsight Specific)
At 01 OCT 1998 01:15:02PM BMC wrote:
I am trying to have a form start off a button from a mdichild form that has only one editbox on it and load and
unload data from the child and back. (Confusing?? sorry)
Form 1 has a hidden edit line bound to FIELDX
a button is clicked that
Parent=Get_Property(@WINDOW,"MDIFRAME")
If Len( Parent ) else
Parent=@WINDOW (MAIN)end
SendVal=.FIELDX-]TEXT
x=Dialog_Box('ADDITIONAL',Parent,SendVal)
RETURN 0
This creates form "ADDITIONAL" and in the CREATE EVENT
.FIELDX_SUB-]TEXTVAL=CreateParam
RETURN 0 (TEXT if changed…
so in the CLOSE EVENT for the ADDITIONAL form
CntlEntId=.FIELDX_SUB-]TEXTVAL
RETURN 1 ( ?? )
Also, the data going into FIELDX_SUB is not wrapping.
What am I doing wrong?? Sorry if this is confusing.
Thanks
At 01 OCT 1998 01:52PM Greg James, ISIS, Inc. wrote:
BMC,
There is a white paper on creating 'Zoom' functionality in OpenInsight. I think that this white paper describes a process to do what you are trying to accomplish. The acrobat file (zoom.pdf)is available on the OI Works CD and also on the Revelation web site in the WORKS area.
Greg James
ISIS, Inc.
gjames@cyberhighway.net
At 02 OCT 1998 08:57AM Aaron Kaplan wrote:
I would think that the close event should do an end_dialog.
That will put the contents into the X from the dialog_box call and you'd set the other control there.
As for the wrapping, you'll need to get rid of the scroll bar for that direction.
akaplan@sprezzatura.com