this is a leftover from VFP 3 from the looks of it :)
Property Description
DoCreate Hidden property of a form used for internal purposes only. When DoCreate is encountered, form load performance and memory utilization is optimized. If not encountered, there is slightly more memory usage by the form.
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q136924
Ted Roche wrote:
> Of course I'm around. Just lurking. > > The Hacker's Guide says: "This may be the most mysterious property we've > encountered. It's documented only as a reserved word, appears in just about > every form we've come across, but can't be accessed at runtime and doesn't > seem to do much of anything." > > -----Original Message----- > From: profox-bounces /at/ leafe DOT com [mailto:profox-bounces@leafe.com] On Behalf > Of Paul McNett > Sent: Tuesday, September 30, 2003 12:05 PM > To: profox /at/ leafe DOT com > Subject: DoCreate() = .T. in SCX and VCX Properties Field > > > Hey Ted, you around? <g> > > Or anyone that has ever wondered about that DoCreate = .T. that > appears in the Properties field of VCX/SCX files? > > Try this: > > CREATE FORM test > * change property ControlBox to .F. > * save and close the form > USE test.scx > go 3 > ? properties > DoCreate = .T. > Caption = "Form1" > ControlBox = .F. > Name = "Form1" > * Now, edit that properties field, moving 'DoCreate = .T.' > * to a line below ControlBox > USE > MODI FORM test > * Note that ControlBox is now .T. instead of .F. > > I've noticed that the DoCreate can be removed completely, and > the ControlBox property will stay as we set it (.F.). > > Does anyone know if I can just have my automated VCX/SCX build > tools (the scX project) remove the DoCreate = .T. completely > when it creates the text file, as it appears VFP is happy > without it? That would be the easiest thing to do, given that > the whole PropertiesSort() part of scText is already really > ugly. > > Anyone have any further observations on DoCreate? > > Thanks! > >
-- Eugene Vital Any technology indistinguishable from magic is insufficiently advanced.
©2003 Gene Vital |