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.
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.