DoCreate
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.
Usage |
frmForm.DoCreate = lLogicalValue |
DoCreate = .T.According to one of our sources, this hidden property is for internal use only. When the line is encountered, VFP optimizes form load performance and memory usage. Otherwise, there is a tiny bit more memory used by the form. On Della's machine, a blank form with DoCreate = .T. averages about 16,000 bytes, and one created with DoCreate = .F. averages around 17,400 bytes. The range of bytes that DoCreate buys you appears to be in the neighborhood of 900 to 1500 bytes. That's not substantial enough for us to want to incorporate this into our applications.
See Also |