Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: ERNESTO PAEZ
  Where is ERNESTO PAEZ?
 FT LAUDERDALE
 Florida - United States
 ERNESTO PAEZ
 To: Eric den Doop
  Where is Eric den Doop?
 Houten
 Netherlands
 Eric den Doop
 Tags
Subject: RE: how to create my own toolbars or add some of them to my appl
Thread ID: 480 Message ID: 484 # Views: 5 # Ratings: 0
Version: Unknown Category: General VFP Topics
Date: Thursday, May 31, 2001 4:02:56 PM         
   


Thank Eric i am going to try this, this is the beginning thank a lot for your help we need people like you to mak evfp to keep going and let us learn.

do you recommend me anything else to learn more about vfp in my case 6.0 ah by the way i dont know yet what is COM or what for it could be use, is this some kind of third party software or is it a command what can i do with the COM ,
SORRY for my ignorance but i need to learn about may be this help me out to create better stuffs

thank you

> > Hi
> > i have an application with a menu and would like to have a toolbar that include a printer,undo etc
> > could you please show me how to start building or adding a toolbar to be underneath of my menu
> > i need to know how to begin with.
> > thank you so much
> > i looked over the samples in vfp 5.0 or vfp6.0 but that does not show me how to create them
> > again thank you
>
> Hello,
>
> There is a pretty basic toolbar in the Tastrade sample app. But to help you getting started:
>
> *in the command window, enter
> create class mytoolbar as toolbar of d:\temp\myclasslib.vcx
>
> *you now have a blank, empty toolbar.
> *in the Form Controls toolbar, click the Button control and drop one on the empty toolbar, just as you do on a normal vfp form
> *you now have to choose to use a Caption, an Image or both. I prever to use Image only.
> *add code in the Click event, for example MESSAGEBOX("ClickEvent")
> * if you want to add another button and prefer to have a blank space between the buttons, you must add a Separator object. You can drop it from the Form Controls toolbar to your own toolbar, at the right of the button. After dropping it onto your form, you'll see a black dot at the upper right of the command button.
> *add the second button the same way you have added the first button
> *save the toolbar
>
> To show the newly created toolbar:
> * in the command window enter
> SET CLASSLIB TO d:\temp\myclasslib
> loToolbar = CREATEOBJECT("mytoolbar")
> loToolbar.show
>
> Look in VFP help for more methods, like for example the Dock() method.
>
> --
> Eric den Doop
> www.foxite.com - The Home Of The Visual FoxPro Experts


ENTIRE THREAD

how to create my own toolbars or add some of them to my appl Posted by ERNESTO PAEZ @ 5/31/2001 12:00:55 PM
RE: how to create my own toolbars or add some of them to my appl Posted by Eric den Doop @ 5/31/2001 12:49:35 PM
RE: how to create my own toolbars or add some of them to my appl Posted by ERNESTO PAEZ @ 5/31/2001 4:02:56 PM
RE: how to create my own toolbars or add some of them to my appl Posted by Eric den Doop @ 5/31/2001 4:44:04 PM