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

Alexsander Rosa alexsander.rosa at gmail.com
Fri Feb 22 16:00:25 CET 2008


Read-only is a property that only makes sense in text widgets. It does NOT
disable the widget, but prevents the user of changing its text content. It
does not make sense for a ListBox or a Button, for example.

2008/2/22, Graeme Geldenhuys <graemeg.lists at gmail.com>:
>
> On 22/02/2008, Gerard N/A <gerardusmercator at gmail.com> wrote:
> >
> > I  like the general idea, but Nautilius icon is everything but clear.
> > I wouldn't know what it means if you haven't told me ;-)
> > Maybe a little lock somewhere would be more clear, but that's a lot of
> work
> > if you want to make it consistent across all controls.
>
>
> You are right, the icon is a bit unclear and can be improved on. As
> for the position of the icon, it could have certain defaults for each
> component and customizable by the developer via the Object Inspector.
>
> BUT we forgot a much bigger issue!  It's not native behaviour so is a
> no-no in LCL components.  ;-)  Maybe I'll add it as a optional setting
> in fpGUI - I first need to create some mock-ups with Gimp to see how
> they would look on all widgets.
>
>
>
> Regards,
>   - Graeme -
>
>
> _______________________________________________
> fpGUI - a cross-platform Free Pascal GUI toolkit
> http://opensoft.homeip.net/fpgui/
>
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
Atenciosamente,

Alexsander da Rosa
Linux User #113925
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20080222/7ece80f3/attachment-0007.html>


More information about the Lazarus mailing list