[DUG] Pasting components from code

John Bird johnkbird at paradise.net.nz
Fri Sep 17 13:37:30 NZST 2010


The correct spot being?  (that was my question! - there looks to be rules I 
did not know about. )

Form inheritance - not applicable so much in this case, as the set of labels 
and edit boxes vary totally from case to case.   I just got tired of the 
repetitive task of creating large sets of these one by one and aligning 
them - this program also does alignment.  Also I might want to drop this 
onto an existing form.

Label font  different from edit font - these are taken from a template, so 
that is one of the options - color and style also can differ.

John

> Why not form inheritence?
>
> Are you declaring the events in the correct spot for the form?
>
> BTW, you really want your Label font to be different to the Edit font?
 




More information about the Delphi mailing list