Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Jared Baszler
  Where is Jared Baszler?
 Brookings
 South Dakota - United States
 Jared Baszler
 To: Jared Baszler
  Where is Jared Baszler?
 Brookings
 South Dakota - United States
 Jared Baszler
 Tags
Subject: RE: Sorry...I figured it out.
Thread ID: 2381 Message ID: 18260 # Views: 1 # Ratings: 0
Version: Visual FoxPro 6 Category: Install & Config. issues
Date: Wednesday, December 18, 2002 11:19:42 PM         
   


> > > > Just a simple question...I was wondering if there is a setting to allow one to see the line number currently on while in the code window? I find it odd that the debugger gives you the line number where the error occured, but that line number can't be seen when in the code window. I know there is a "Go to Line" function, but I just wanted to ask if this was possible. And maybe this is a feature that will be available in VFP 7. Let's hope!
> > > >
> > > > Jared Baszler
> > > > Web Developer
> > > > Mid-West Seed Services, Inc.
> > >
> > > Hello,
> > >
> > > Right click on a code snippet window and choose properties. You'll find a checkbox in the property dialog to activate such feature. Note: the line number is displayed in the VFP statusbar, so make sure that the statusbar is visible.
> > > --
> > > Eric den Doop
> > > www.foxite.com - The Home Of The Visual FoxPro Experts
> >
> > Another way to achive just that is to use another editor but the default fox editor.
> > To make that the standard use a config file and the TEDIT option.
> > The setback is that, in VFP7 you would miss the intellisense.
> >
> > Boudewijn.Lutgerink@Foxite.com
> > www.foxite.com - The place to go for all the questions you had on FoxPro (but were afraid to ask your mother)
>
> Well, looking back I realized that I have asked a similar sort of question so I figured I would keep this question in this thread. I know now how to display the code editors properties by right-clicking on the code window and then choosing properties. What I'm wondering if is there a way to set these properties for all code windows and not just the single window you change the properties on. What I'm striving for is to change the font when I open any code window and display the line number on all of them. I would rather not have to go to the properties of each method/event code window to accomplish this. So if anyone knows if this is possible I would greatly apprecaite your help. Thanks in advance and have a great day.
>
> Jared Baszler
> Computer Programmer
> Mid-West Seed Services, Inc.

Well, after doing messing around and looking in obvious places I figured out my above problems. The first thing you have to do is go to Tools...Options...the IDE tab. On the left choose "Code Windows" and then on the right you can change the properties that you want to for each code window and this will take effect in all code windows that you open up. After you do this though you must close VFP and then go find your FoxUser.DBF file that is associated with your project and delete it because this stores all your old fonts. This is going to also get rid of some other settings but nothing you can't easily change back once this process is complete. Lastly (and I don't know if this is necessary) open up VFP again and before you open your project back up change the settings in the command window so they mirror the setting you just changed and so that the command window will look like your code windows. Once you open your project, your code windows should look they way you want them too. I hope this helps others out because it sure got what I wanted to accomplished.

Jared Baszler
Computer Programmer
Mid-West Seed Services, Inc.


ENTIRE THREAD

Displaying line number in code editor? Posted by Jared Baszler @ 8/1/2001 9:31:15 AM
RE: Displaying line number in code editor? Posted by Eric den Doop @ 8/1/2001 9:50:24 AM
RE: Displaying line number in code editor? Posted by Boudewijn Lutgerink @ 8/3/2001 10:16:19 AM
RE: Displaying line number in code editor (AGAIN)? Posted by Jared Baszler @ 12/18/2002 4:53:20 PM
RE: Sorry...I figured it out. Posted by Jared Baszler @ 12/18/2002 11:19:42 PM