Thanks for the details Dan. I expected it to be faster. Would be interesting to see more recent figures although I don't expect them to be that much different.

I use the Document View when in forms and visual classes and find getting around for code maintenance pretty easy. But, it is subjective so each person will have their own preference.

Frank.

Frank Cazabon

On 17/01/2013 08:04 PM, Dan Covill wrote:
On 01/17/13 04:58 AM, Frank Cazabon wrote:
Hey Dan,

I would think that "harder to maintain" is very subjective as I find
them much much much easier to maintain than PRGs.

Do you have some statistics to backup your assertion that running an SCX
is slower than a PRG (I have no doubt it is, but I'd like to see by how
much).

Hi, Frank

One of the members of our San Diego FoxPro group had a giant configuration dialog with at least 50 (and probably more) controls on it, that he converted from SCX to code, then did timing tests. It was quite a while ago (probably around VFP7 time), but as I recall he found that the code took at most 1/3 of the time the scx did to instantiate the form. Don't forget, when you call an scx you're reading a database while you're executing the methods for each control. That introduces a whole lot of IO delays into the process.

Without doubt I'm prejudiced in favor of code. After all, I'm a programmer, and I like to program. I certainly find the form designer useful and convenient for adjusting the layout and appearance, but for execution and, yes, maintenance I much prefer code. In my experience most "maintenance" on a form involves changing what happens in the methods, and I find that a lot easier when I can see them all at once.

Thanks for asking. <g>

Dan


[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to