Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class browser, changing container icon, toolbar icon
Message
De
21/12/2001 11:27:29
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:
00597366
Vues:
10
Thanks Vlad,
I thought that 'container' icon was the clue that the class browser might not be the place for changing it's icon for the toolbar but couldn't find where to do that.
I hope you have good, safe, and Merry Holidays!

-Gil


>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,
Gil Munk


"If a nation expects to be ignorant and free, it expects what never was and never will be." - Thomas Jefferson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform