** END HEADER -- do not remove this line // // Generated on 08/11/2019 // parameter bModal local f f = new form2Form() if (bModal) f.mdi = false // ensure not MDI f.readModal() else f.open() endif class form2Form of FORM with (this) open = class::FORM_OPEN readModal = class::FORM_READMODAL metric = 6 // Pixels height = 213.0 left = 435.0 top = 177.0 width = 420.0 text = "" endwith this.TEXT1 = new TEXT(this) with (this.TEXT1) height = 33.0 left = 17.0 top = 6.0 width = 288.0 text = "Form 2 -- value passed from Form 1" endwith this.PASSEDVALUEEF = new ENTRYFIELD(this) with (this.PASSEDVALUEEF) height = 22.0 left = 88.0 top = 73.0 width = 166.0 value = "Entryfield1" endwith function form_open() if type( "this.PassedValue" ) # "U" this.PassedValueEF.value = this.PassedValue else this.PassedValueEF.value = "Nothing was passed ..." endif return FORM2FORM::open() function form_readModal() if type( "this.PassedValue" ) # "U" this.PassedValueEF.value = this.PassedValue else this.PassedValueEF.value = "Nothing was passed ..." endif return FORM2FORM::readModal() endclass