Information générale
Catégorie:
Codage, syntaxe et commandes
>>I don't understand why you're saying these are the buttons from VFP's toolbar. As far as I see, this is a toolbar to which you add two custom buttons. The sample shows also how you can manage these buttons, but I don't see the connection with VFP's buttons.
>>
>>Or maybe I am missing something?
>>
>>Vlad
>
>You are correct. These are custom buttons. Guess it was just wishful thinking on my part. Is there no other way create a custom toolbar without the drag and drop way? I would like to do it code and place it in my custom class. I have yet to figure out how to put in a separator during the customization process.
Of course you can do it in code. The ToolBar control is just a control! :) So, you can use it as you use anyother control, you can define toolbars in prgs, etc, etc.
To see a code sample, define visually a toolbar class and use the ClassBrowser to see the equiv code.
Was this your question? :)
Vlad
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement