Determines whether the off-screen surface should be auto created.
__property bool AutoCreate;
Description
In most cases, you drop a TIvoryDraw on your form, and you also drop some TCustomIvorySurface descendant components on the same form. A DirectDraw surface cannot be created until you activate the TIvoryDraw component by setting TheIvoryDraw->Active to true. It would be good if the dropped surfaces automatically created as soon as the TDirectDraw is activated. It is possible, just make sure the AutoCreate properties of your surfaces are set to true, and they will be created automatically by TIvoryDraw.
The default value for AutoCreate is true, so in fact every surface you drop down on a form will be auto created, unless you set AutoCreate to false. The backbuffer surface is always auto created, event if AutoCreate is set to false.
It is strongly recommended that you drop each Ivory Draw component on the same form. If you drop the TIvoryDraw component and the surface on different forms, the surface will not be auto created, even if AutoCreate is set to true. If you make a new surface programmatically and in the constructor you specify a pointer to the form on which you dropped the TIvoryDraw component, the surface can also be auto created. Surfaces that are programmatically created after setting TheIvoryDraw->Active to true cannot be auto created. Ivory Draw only performs the auto creation in the activating routine.
AutoCreate cannot be changed after the surface is created.