[Lazarus] Opinions required on what the ReadOnly property should do for LCL controls.

Gerard N/A gerardusmercator at gmail.com
Fri Feb 22 13:23:19 CET 2008


On Fri, Feb 22, 2008 at 11:15 AM, coppolastudio at virgilio.it <
coppolastudio at virgilio.it> wrote:

> What you say is right for single component but not for composite
> components like edit&button. In fact you cannot type on a button but
> you can do that on a edit.


So?  a TCustomEditButton is only a TEdit with an additional alternative
entry system.
The button+calendar are just helpers to the editor, not the other way
around.

>
> Due to different date format (short long and
> so on) the original idea was to select a date by a calendar and not by
> typing. In this way the user bypass the date format.


That's where a property like DirectEdit (or whatever you want to call it )
would be handy. You set it to true and the user is forced to use the
button+popup dialog to choose a value.

Regards,

Gerard.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20080222/a31b5852/attachment-0007.html>


More information about the Lazarus mailing list