Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbars with a mind of their own
Message
 
À
11/11/1997 17:06:30
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00059596
Message ID:
00059693
Vues:
34
>Most of my toolbars have the same basic buttons (Add,Delete,Save,Cancel, etc.) so I made a ToolBar Class that has these buttons. When I add this ToolBar to my form and then add additional buttons and separators, the separators rearrange themselves. This looks terrible! Every time I open the form, rearrange the buttons/separators and open the form again, the separators have moved. And I can't delete some of them because they are 'members of a parent class.'
>
>I also tried to subclass the toolbar and add the additional buttons/separators in the subclass, but I encountered the same problem. It appears that everything must be put into the same class or else everything must be added at the form level. This seems to go against the idea of subclassing. Has anyone else seen this? How do other people handle toolbars?
>
>Thanks
>Elyse

if we sub from toolbars, we do this from toolbars wo/ separators
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform