Startup window focus (OpenInsight 16-Bit Specific)
At 23 MAY 2003 06:28:24AM Tim Wilson wrote:
I have a startup (login) window specified in one of our OI applications. When running it on a client's network this startup window is often in focus but sometimes not (seemingly at random). This is proving to be very irritating. The network is Novell 5.1 and the workstations are Windows 2000. The development copy on my Windows 2000 PC behaves fine of course!
I have tried adding code to the CREATE event of the startup window, along the lines of changing focus and/or calling the ACTIVATED event, without any success.
Any ideas as to how I may get the startup window to be in focus every time?
Thanks,
Tim Wilson
MasterWare Limited
At 23 MAY 2003 10:17AM Donald Bakke wrote:
Tim,
We have similar issues with our custom user login screen. It gets launched during the CREATE event of our master MDI Frame (which remains invisible until a successful login.) On some systems, however, this login screen does not have focus so the end user has to click on it. We added this line of code to the CREATE event of the window and we no longer have any problems:
Set_Property(@Window:".EDL_USERNAME", "FOCUS", Yes$)