Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid columns losing controlsource property
Message
 
À
29/04/2006 07:57:08
Alan Harris-Reid
Baseline Data Services
Devon, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01117583
Message ID:
01118072
Vues:
16
Alan,
I need to explain the Debug thing. I am talking about the Debug Info checkbox in the Project Information section. If this is not checked then error trapping rtns cannot return the line number the error occurred on. This is very important when trying to figure out where a problem is. However, if you turn this on then all code in any forms gets included in the .EXE.

As far as my comment about the VFP editor, I feel it is weak because it takes so long to get anything done when you have to use the mouse. When using an old DOS editor like Brief you can really fly when using just the keyboard. Plus, when working on code such as the Grid example I provided, the column cut, paste, change makes a world of difference. I have tried a number of Windows based editors but they all still require too much use of the mouse and that really slows me down. Understand, these are my personal preferences and I can surly understand why many people would not agree with me. It takes some time to memorize all the keystrokes in order to use one of the old DOS tools. But, it is nice to have your prg code up in a DOS window while the program is running in another.

As for IntelliSense, I really hated that blasted thing constantly popping up as I was typing so I finally turned it off. Then, after my hard drive went south and I had to reinstall my entire world, I was too far behind on my work to take the time to turn it all off again. Then I realized I could just ignore it. Now I find that it does come in handy once or twice a day. The problem, in my opinion, is that some people become totally dependant on it. That is where the addicted comment came from. Of course, maybe I’m just old fashioned.

We all have our preferences and prejudices. The problem occurs when we believe in them so much we close our minds to things that actually could make our lives better. Well, that’s what I try to tell myself anyway. Some days I do better than others.

John.


>Hello John,
>
>>We still have this thing here about doing most things in PRGs.
>
>Although I like using classes, OOP, etc., I'm still prefer using prg files where appropriate, although these days I use them as procedure files containing lots of functions, procedures, etc., instead of having hundreds of little .prg files cluttering-up the place. Every application of mine has two procedure files loaded - ProcComm.prg (common/generic routines that can be used in any application) and ProcApp.prg (application-specific routines).
>
>
>>Mostly because you can have debug on and not have all your source code in the compiled EXE...
>
>Personally I never debug from a compiled .exe or .app, unless there is a problem I cannot reproduce in my development environment. I always develop and debug directly from the source code. As long as the path includes all form, class library, program, menu, etc. files, you can watch/suspend/fix the source directly without the need for so many .prg files.
>
>>...and because the VFP editor is so weak
>
>I have to disagree with you there. Sure it lacks some features found in other editors (TextPad is my favourite at present), but when developing in VFP it can do many things that other editors cannot.
>
>> (unless you are addicted to IntelliSense).
>
>Not me! I have it switched-off. Maybe I haven't spent enough time with it to customise it to my advantage, but I don't like it at all. It gets in the way and I find it more of a hinderence than a help. I can understand it being useful for beginners, though.
>
>
>Regards,
>Alan
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform