Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wrong icon is shown
Message
De
22/03/2004 16:20:10
 
 
À
22/03/2004 15:57:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00888645
Message ID:
00888656
Vues:
20
Hei Rolf,

Open the Project Manager, right-click and select Project info. At the bottom to the right you add your icon.

>All of my forms are Top-Level Forms ( ShowWindow = 2 ).
>Some of them ( the wizards ) I don't want to show in the taskbar.
>Therefore I use ShowInTaskBar = .F.
>
>There is a small problem with this:
>The wrong icon is used in the screen I get when holding down ALT and pressing TAB.
>
>Run the code below to see what I mean.
>My question is:
>How can I get the right icon in the "ALT+TAB window"?
>
>Rolf
>
>******* Start ********
>
>PUBLIC oform1
>oform1=NEWOBJECT("form1")
>oform1.Show
>RETURN
>
>
>DEFINE CLASS form1 AS form
>
> Top = 0
> Left = 0
> Height = 200
> Width = 450
> ShowWindow = 2
> ShowInTaskBar = .F.
> DoCreate = .T.
> Caption = "Hold down ALT and press TAB. What icon do you see?"
> ControlBox = .T.
> MaxButton = .F.
> MinButton = .F.
> Name = "Form1"
>
> ADD OBJECT command1 AS commandbutton WITH ;
> Top = 132, ;
> Left = 204, ;
> Height = 27, ;
> Width = 84, ;
> Caption = "Close", ;
> Name = "Command1"
>
>
> PROCEDURE Load
> this.icon = HOME()+"graphics\icons\flags\flgnorw.ico"
> ENDPROC
>
>
> PROCEDURE command1.Click
> thisform.Release
> ENDPROC
>
>
>ENDDEFINE
>
>********** End **********
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform