Subject Re: WFM WONT COME UP IN COMPILED BUT WILL IN NATIVE DBASE
From Akshat Kapoor <akshat.kapoor@kapoorsons.in>
Date Mon, 2 Jan 2023 17:36:24 +0530
Newsgroups dbase.getting-started

Good Afternoon Ed Furche,

>>
> i dont know the diff between readmodal and MDI.  I just say "DO COLLDBAR.WFM"

Try using "DO COLLDBAR.WFM with true"

When we say "DO COLLDBAR.WFM" then dbase assumes that there are multiple
forms that are waiting for your command and hence it does not wait for
your response.

With ide this approach works as control returns to command window. But
with exe there is no place for control to return to. Hence dBase closes.

Hope this helps.

In case this wfm is your main program then will suggest adding the
following lines to the header.

parameter bModal
local f
f = new COLLDBARForm()
f.mdi = false // ensure not MDI
f.readModal()
return

above the
** END HEADER -- do not remove this line
Regards
Akshat