Screen = OFF and the forms run in the desktop.
Unless VFP itself or another (any) VFP app like MyApp.exe is already running,
the very first form does not get the focus until clicked on by the user.
The menu that is being called in MainMenuForm's activate method is a top-level menu with NOWAIT and afaik there are no wait states before READ EVENTS.
Any ideas are welcome.
PUSH MENU _MSYSMENU
oMainMenuForm = NEWOBJECT('MainMenuForm','SosForms',NULL,gcOwner,'Invoicing System - Main Screen','',gcVersion,gcBuildDate,lcLogString)
WITH oMainMenuForm
.VISIBLE = .T.
.SHOW
ENDWITH
READ EVENTS
Peter Pirker
Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?
(Woody Allen)