Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. articles. downloads. faq. members. files. rss.
 From: Andy Kramek
  Where is Andy Kramek?
 Hot Springs Village
 Arkansas - United States
 Andy Kramek
 To: Ravi Taxali
  Where is Ravi Taxali?
 Markham
 Canada
 Ravi Taxali
Subject: RE: create object programatically
Thread ID: 99991 Message ID: 100076 # Views: 2 # Ratings: 0
Version: Visual FoxPro 9 Category: General VFP Topics
Date: Thursday, June 29, 2006 7:23:58 PM         
   



> I worked for a company in 1999 which used to sell a fairly complex application in VFP 6. I was a bit surprised to learn that they did not use Visual Form designers. All forms were coded as classes written as PRGs. The forms were quite complex as these included pageframes, listboxes and grids. When I asked the same question -- "Why can't we use Form designer?", they game me two reasons:
>
> 1. Forms coded as prg load and run faster.


That may have been true in early versions of VFP but the issues were in VFP 3.0 and V5.0 - they were fixed in VFP 6.0 and I am pretty sure that there is no significant difference nowadays.

> 2. As code for all methods is at one place, it is easier to debug and maintain methods.

HOw is it easier to debug and maintain 25000 lines of code in a single PRG than 250 x 100 line mnethods, individually named and selectable through the designer?

YOu can open multiple code windows and have different methods in different windows! Hard to do that in a PRG - especially a large one.

These are just non-sense reasons! Probably the truth is that the originator of the code didn't know how to use the designers efficiently and copied the code from a FP2.x => VFP 3.0 converter!

Regards
Andy Kramek
Microsoft MVP (Visual FoxPro)
Tightline Computers Inc, Akron Ohio, USA

ENTIRE THREAD

create object programatically Posted by Ryan Lashway @ 6/29/2006 2:34:16 AM
RE: create object programatically Posted by mike castillo @ 6/29/2006 6:40:23 AM
RE: create object programatically Posted by Andy Kramek @ 6/29/2006 12:59:19 PM
RE: create object programatically Posted by Bernard Bout @ 6/30/2006 5:28:07 AM
RE: create object programatically Posted by Marcia Akins @ 6/29/2006 1:16:50 PM
RE: create object programatically Posted by Ryan Lashway @ 6/29/2006 2:37:30 PM
RE: create object programatically Posted by Boudewijn Lutgerink @ 6/29/2006 4:13:23 PM
RE: create object programatically Posted by Ryan Lashway @ 6/29/2006 4:34:31 PM
RE: create object programatically Posted by Martin Sellwood @ 6/29/2006 4:58:31 PM
RE: create object programatically Posted by Andy Kramek @ 6/29/2006 7:15:50 PM
RE: create object programatically Posted by Dexter Carlit @ 6/29/2006 7:29:37 PM
RE: create object programatically Posted by Ken Murphy @ 6/30/2006 2:00:32 PM
RE: create object programatically Posted by Ravi Taxali @ 6/29/2006 4:50:39 PM
RE: create object programatically Posted by Martin Sellwood @ 6/29/2006 5:01:04 PM
RE: create object programatically Posted by Andy Kramek @ 6/29/2006 7:23:58 PM
RE: create object programatically Posted by Marcia Akins @ 6/29/2006 8:13:16 PM
RE: create object programatically Posted by Sergey Karimov @ 6/30/2006 1:23:37 AM
RE: create object programatically Posted by Boudewijn Lutgerink @ 6/30/2006 11:44:38 AM
RE: create object programatically Posted by Sergey Karimov @ 6/30/2006 4:22:38 PM
RE: create object programatically Posted by Boudewijn Lutgerink @ 7/6/2006 8:36:54 AM
RE: create object programatically Posted by Sergey Karimov @ 7/6/2006 5:15:06 PM
RE: create object programatically Posted by Bernard Bout @ 7/1/2006 2:56:54 AM
RE: create object programatically Posted by Andy Kramek @ 6/30/2006 12:54:08 PM
RE: create object programatically Posted by Sergey Karimov @ 6/30/2006 4:38:28 PM
RE: create object programatically Posted by Andy Kramek @ 6/30/2006 7:00:51 PM
RE: create object programatically Posted by Bernard Bout @ 7/1/2006 3:04:40 AM
RE: create object programatically Posted by Andy Kramek @ 7/1/2006 1:16:01 PM
RE: create object programatically Posted by Ken Murphy @ 7/1/2006 1:56:31 PM
RE: create object programatically Posted by Andy Kramek @ 7/1/2006 3:45:04 PM
RE: create object programatically Posted by Ken Murphy @ 7/1/2006 6:17:21 PM
RE: create object programatically Posted by Ravi Taxali @ 6/30/2006 3:34:45 PM
RE: create object programatically Posted by Ken Murphy @ 6/30/2006 5:12:54 PM
RE: create object programatically Posted by Ken Murphy @ 6/29/2006 1:23:06 PM
RE: create object programatically Posted by Gianni Sassanelli @ 6/29/2006 9:06:17 PM
RE: create object programatically Posted by Boudewijn Lutgerink @ 6/30/2006 11:48:48 AM
RE: create object programatically Posted by Borislav Borissov @ 6/29/2006 1:40:19 PM
RE: create object programatically Posted by Pete Sass @ 7/11/2006 4:13:37 PM
RE: create object programatically Posted by Dexter Carlit @ 7/12/2006 1:45:42 PM