Don't no if it's because of my poor english or because of my questions are stupid but I didn't get much answers... :-(<br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
How can I change the default name from DataModuleCreate to ZModuleCreate ?<br></blockquote><div><br>I suppose that the default name of an event handler is built from the name of the class that introduced the event so may be there is no simple way to change that...<br>
 </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>When I create a new TZModule it's small. Can I change the default size of newly created TZModule  ?<br>
</blockquote><div><br>I found that this can be done overriding Create to set a value to DesignSize.<br><br>constructor TZModule.Create(TheOwner: TComponent);<br>var<br>  Size : TPoint;<br>begin<br>  inherited Create(TheOwner);<br>
<br>  Size.X := 320;<br>  Size.Y := 200;<br>  DesignSize := Size;<br>end; <br><br>May this can be done in the default constructor of TDataModule ? Without that the window representing a newly created TDataModule in the IDE is so small that it needs manual resizing before any use.<br>
</div></div><br>