Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar button names
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00062207
Message ID:
00062388
Vues:
29
>>>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
>
>Yse this is my question, but to define a toolbar and add the toolbar buttons you have to know the names of those buttons (Cut, Copy, Paste, etc.; sepl is the Separator) I have used the class browser to try creating a custom tool bar, but the usual toolbar buttons are not available to add to the class. The only thing available are the Form Designer toolbar contols. What am I missing?

Sorry, SEPARATOR for a separator. Is what you are saying, that the only way to do this is to add command buttons to the custom class then put code in the click event to mimick buttons already available from toolbars that come with VFP? I was hoping to just addobject() and use the names of the buttons already defined on the included VFP toolbars including separators.
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform