[Lazarus] fpGUI

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Mon Jan 17 11:58:53 CET 2011



On Mon, 17 Jan 2011, Graeme Geldenhuys wrote:

>> Hence RAD and point-and-click.
>
> Which could result in one form's Grid not quite behaving like the other
> form's grid in the same application - because the developer forgot to
> set all the right properties for the 100th time.

Exactly not.

That's why I subclass and re-register each control on the component
palette, and this subclass has set all relevant properties correct 
in advance. No need for code templates at all. 
Drop the grid, and it's correctly configured for 99,99% of all cases.

If, additionally, you set the 'Default' modifier for these properties 
to these values, nothing is stored in the .LFM/.DFM either, keeping size
small.

RAD works, if done right.

Someone putting more than 50 datasets on a Datamodule is clearly doing
something wrong and needs to rethink his design. Such a person will 
equally well manage to mess up things when creating code. 
(and is likely to create wrong code, to boot).

Any system can be abused. That says little about the system, but lots
about the abuser.

Michael.




More information about the Lazarus mailing list