I have a form called MyForm stored in a unit called Unit UnitMyFrom. Of course Delphi automatically added this code:
TYPE
TMyForm = class(TForm)
private
public
end;
var MyForm: TMyForm;
but I removed the var declaration from that unit. Somebody said that this may cause problems with the IDE. Is it true? Does the IDE require that variable?
EDIT:
The MyForm IS NOT automatically created. The user creates that form at runtime.