MB Software Solutions General Account wrote:
> Matt Jarvis wrote:
>> Not to be a wise-guy (who - me???) but what exactly are you expecting
>> _screen.visible to do?? Hide it?
>
>
> I was setting it to .F. but then nothing would show....iow, the top
> level form wouldn't show. I only saw the taskbar window, but no visible
> form.
>
> I saw that I forgot to include the config.fpw. Re-trying it now with
> that included in EXE and removed _screen.visible = lines from main.prg.
>
Ok...what the heck!?!?! I've included the config.fpw in the EXE, and
it's got SCREEN = OFF and RESOURCE = OFF in it plus a TITLE
line...that's it. My Main.prg is this:
SET EXCLUSIVE OFF
SET SAFETY OFF
LOCAL ARRAY aVersion(4)
AGETFILEVERSION(aVersion,SYS(16,0))
_screen.Caption = "ErrorGrab, v" + IIF(EMPTY(aVersion(4)), VERSION(),
aVersion(4))
_screen.ControlBox = .F.
_screen.Icon = 'symlogo4.ICO'
CLOSE DATABASES ALL
LOCAL loFrm as Form
DO FORM frmUploadErrors NAME loFrm
loFrm.DoRead()
IF _vfp.StartMode <> 0 THEN
QUIT
ENDIF
frmUploadErrors is a modeless form, with ShowInWindow=2 (Top Level form),
with a READ EVENTS in the DoRead form method. The form.Unload event has a
CLEAR EVENTS in it.
Ideas as to why the screen won't show but only the task in the Windows bar
shows?
--
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.