Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class browser, changing container icon, toolbar icon
Message
 
 
À
20/12/2001 17:19:03
Gil Munk
The Scarborough Group, Inc.
Baltimore, Maryland, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00597052
Message ID:
00597182
Vues:
16
This message has been marked as the solution to the initial question of the thread.
Hi!

If you open the class in design mode, and select "Class Info" from menu fo it, you will see TWO options for class - toolbar icon and container icon. Toolbar is what you need. Class browser allows to change only container icon.

The difference between these 2 options is in the places where icon displayed. Container icon is displayed in the project manager, class browser etc., when toolbar icon only on the classes toolbar.

I just experimented also with class browser and see that it works incorrectly with paths to the bitmap file. I did the same and see in the Class Info dialog that path was mapped to the VFP.EXE directory... Nice thing to report to MS.

HTH.

>Merry Christmas/Happy Holidays, etc...
>
>I have a classlib with subclassed form control classes (most of them containers wrapped about either standard VFP Classes or my framework's parent classes.) In Class Browser I right click on the class and select 'Container Icon...' and choose a bitmapped file (not an icon file) to have represent my class. These changed icons show up nicely in the browser but not when I display the toolbar.
>
>I looked for past threads here but the only one that I saw was never resolved. Does anyone know if these bitmapped files need to be a certain size or in a certain folder in order to show up on the Form Controls Toolbar or what the trick is get get this to work?
>
>Thanks in advance,
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform