Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Icons
Message
De
14/07/2003 12:03:28
 
 
À
10/07/2003 15:51:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00808990
Message ID:
00809866
Vues:
24
This might be a solution if you have an application object.
oApp = createobj('classMyAppFramework') && framework object
oApp.NewFormIcon = _screen.Icon        && store the current icon to a property
read events
...
oNewForm = createobj('myGenericForm')
oNewForm.Icon = oApp.NewFormIcon
HTH.


>Is there a way to link the icon property of a form to the icon attached to the project without hardcoding the icon name and location?
>
>For example, I have a class that generates a generic form. I would like the forms icon to be the same as the project that it is currently associated with without having to do something like fmrGeneric.icon = 'c:\project\graphics\icon.ico'
>
>Hope this makes sense.
>
>Thanks in advance for your help,
>
>Russell
ramil
~~ learning to stand still
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform