Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting rid of the fox at the top of each form
Message
De
24/08/2016 07:42:34
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01639835
Message ID:
01639840
Vues:
81
J'aime (1)
>>>How can I get rid of the fox which appears to the left of the screen caption on every form?
>>
>>Each form has a Icon property. I always use subclassed versions of the base form, where I change the icon in the subclassed version.
>
>Tore thanks
>
>I can get rid of the fox for each form by setting the control box property to .F. - how can i do it so that i don't have to wade through every form?
>
>Bur although I can add my own screen caption a fox always appears to the left - where do I find the subclassed version so that i can get rid of it

If you work with the base classes, you have to change the icon for each form, one by one. This is one of many reasons why you should only work with subclasses.

Personally I have one "personal" vcx which contains subclasses of every control that can be subclassed visually. In this class I have add a few properties and methods, and changed them according to my needs and preferences.

When I start a new project, I make another vcx specific for this project where each control is subclassed from my "personal" vcx. In this vcx I will typically change the icon for the form, so that every new form will have this icon as its default.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform