Michael,
One immediate reason is to make the use of the Drag/Drop class I posted this
morning easier. You can't really get any easier than dragging a component
over the grid however neat the inline code is.

Programming entirely in .prg format is certainly more efficient and you have
much more control but sometimes there is just no substitute for wrapping up
in a visual class of some format.

Other than that I guess it is personal preference I suppose. I must admit I
flick the other way myself, starting with .prg classes and then migrating to
.vcx's when I have them debugged and finished. It just seems neater that
way.

Of course printing out (does anyone still do that??) is easier with .prg
classes and you do get to see the Whole of the code at once, but you can do
this using the document view for both vcx and prg glasses by using #defines
in the .prg classes to act as placeholders.

Guess it's going to be one of those top/bottom post, spaces/tabs arguments
that is never fully resolved! You may have opened a complete bag of worms
here Mike.

Dave Crozier


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Michael J. Babcock, MCP
Sent: 01 October 2007 15:29
To: [email protected]
Subject: PRG vs VCX based classes for non-visual objects

(I asked this recently but didn't get a response....vfp9)

I thought Bo Durban had changed his GDI+ classes from VCX-based to
PRG-based but I couldn't learn the reason why he did so...I thought it had
something to do with performance but that didn't seem to make sense since
once it's loaded in memory, it should be the same imo.

Can someone comment as to why you would want to design a NON-VISUAL class
in a VCX (other than preferring the GUI look for seeing the methods/events
in dropdowns)?

tia,
--Michael




[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://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