Is it possible to have menus in a %aw child window residing in a MDI parent frame?
Using the attach window %aw example from the Help files with an additional line for a menu item doesn't work. Anyone any ideas? Thanks.
Best regards
Albert
WINAPP
INTEGER ctrl,winio@
EXTERNAL open_func
CHARACTER*128 fname
COMMON ctrl
fname='*.f95'
i=winio@('%ww[no_border]&')
i=winio@('%mn[&File[&Open]]&', 'FILE_OPENR[Open]',fname,'+',open_func,'EDIT_FILE',fname)
i=winio@('%mn[[E&xit]]&','EXIT')
i=winio@('%pv%fr&',400L,300L)
i=winio@('%lw',ctrl)
END
INTEGER FUNCTION open_func()
COMMON ctrl
INTEGER ctrl,winio@
i=winio@('%pv%aw&',ctrl)
i=winio@('%mn[Exit]&', 'EXIT') ! Menu item in child window
i=winio@('%20.8eb[no_border]','*',0L)
open_func=1
END