delphiidedelphi-xeform-designer

Disabling the form designer in DelphiXE


Is it possible to disable the form designer in DelphiXE "on-demand/selectively" and only work with the code of a form/class where needed, in the event that controls are not installed in the IDE?


Solution

  • I'd say the answer is no, but the workaround that I use is to edit the DFM file and cut out the component that is not there, and paste it to the FormCreate event and instantiate it there instead. The properties are all there in the DFM, so a little editing makes it work nicely.