Executable shows twice on Windows 7 taskbar.

Support forum for ARG-Software Design Lab. Command Bars Library [http://www.arg.kirov.ru/]
Post Reply
Peter
Site Admin
Posts: 8
Joined: Sat Jul 18, 2009 1:56 pm

Executable shows twice on Windows 7 taskbar.

Post by Peter »

Hi Alex

After my illness I am back doing some of my VFP projects.
One of the projects which was taken over by another VFP developer, when run shows twice on the Windows 7 taskbar.
icons.PNG
icons.PNG (2.55 KiB) Viewed 3430 times
Changed icon so it doesn't show the company.

I have set the commandbars form property "visible" to False

I have this code in the Activate event of the commanbars form
_Screen.Visible = .F.
_Screen.Left = 0
_Screen.WindowState = 1
_Screen.WindowState = 2
_Screen.Visible = .T.
This.Visible = .F. && Needs to be uncommented after attached to _Screen

I have this code in the show event
Application.Visible = .T.

I have this code in the Init event
ThisForm.Hide
ThisForm.WindowState = 1

When you click on the icons on the task bar one does nothing but the other just closes and leaves a single icon.

I have not shown all the code in the above events.

What am I doing wrong
Can you help please.
Post Reply