Re: [Lazarus] visual appearance of ReadOnly state widgets

2017-05-10 Thread zeljko via Lazarus
On 10.05.2017 18:29, Graeme Geldenhuys via Lazarus wrote: On 2017-05-10 17:21, zeljko wrote: For example in fpGUI read-only widgets look visibly different. See attached animated GIF. Looks pretty wrong to me. It's big difference between ReadOnly and Enabled. Well, they visually indicate to th

Re: [Lazarus] visual appearance of ReadOnly state widgets

2017-05-10 Thread Graeme Geldenhuys via Lazarus
On 2017-05-10 17:21, zeljko wrote: For example in fpGUI read-only widgets look visibly different. See attached animated GIF. Looks pretty wrong to me. It's big difference between ReadOnly and Enabled. Well, they visually indicate to the end-user the ReadOnly or Enabled state, without the user

Re: [Lazarus] visual appearance of ReadOnly state widgets

2017-05-10 Thread zeljko via Lazarus
On 10.05.2017 15:40, Graeme Geldenhuys via Lazarus wrote: Hi, Is it normal for read-only LCL widgets to look identical to their Read/Write state? Yes, LCL behaves exactly as underlaying widgetset says so. For example in fpGUI read-only widgets look visibly different. See attached animated G

Re: [Lazarus] visual appearance of ReadOnly state widgets

2017-05-10 Thread Graeme Geldenhuys via Lazarus
On 2017-05-10 16:05, Alexey via Lazarus wrote: I suggested pch [gray color for disabled] for Grids, not accepted yet. Can do pch for Treeview and etc. Thanks for your feedback and warning about some controls with Enabled = False state. Regards, Graeme --

Re: [Lazarus] visual appearance of ReadOnly state widgets

2017-05-10 Thread Ondrej Pokorny via Lazarus
On 10.05.2017 15:40, Graeme Geldenhuys via Lazarus wrote: Is it normal for read-only LCL widgets to look identical to their Read/Write state? Yes. Ondrej -- ___ Lazarus mailing list Lazarus@lists.lazarus-ide.org http://lists.lazarus-ide.org/listinfo/

Re: [Lazarus] visual appearance of ReadOnly state widgets

2017-05-10 Thread Alexey via Lazarus
On 10.05.2017 17:35, Graeme Geldenhuys via Lazarus wrote: 2) Some controls?? Here we go with the LCL inconsistency again. :-/ I suggested pch [gray color for disabled] for Grids, not accepted yet. Can do pch for Treeview and etc. -- Regards, Alexey --

Re: [Lazarus] visual appearance of ReadOnly state widgets

2017-05-10 Thread Graeme Geldenhuys via Lazarus
On 2017-05-10 15:08, Alexey via Lazarus wrote: It is made like in Delphi's r/o combobox. Well, then both are broken. In Lazarus better use Enabled:=false and it has indication for some controls. 1) The problem with Enabled = False is that in then greys the text too. Thus making in very

Re: [Lazarus] visual appearance of ReadOnly state widgets

2017-05-10 Thread Graeme Geldenhuys via Lazarus
On 2017-05-10 15:26, Vojtěch Čihák via Lazarus wrote: your fpGUI read-only controls looks like disabled, which may be confusing. In fpGUI, with Enabled = False, the text is greyed out too. Same for buttons in ComboBoxes, Edit Button widgets etc. In read-only mode the text is still in Black (o

Re: [Lazarus] visual appearance of ReadOnly state widgets

2017-05-10 Thread Vojtěch Čihák via Lazarus
looks like disabled, which may be confusing.   V. __ Od: Graeme Geldenhuys via Lazarus Komu: Lazarus mailing list Datum: 10.05.2017 15:40 Předmět: [Lazarus] visual appearance of ReadOnly state widgets Hi, Is it normal for read-only

Re: [Lazarus] visual appearance of ReadOnly state widgets

2017-05-10 Thread Alexey via Lazarus
On 10.05.2017 16:40, Graeme Geldenhuys via Lazarus wrote: And to make matters worse, a ReadOnly TComboBox allows me to change the focusitem via a mouse, adding to the confusion. It is made like in Delphi's r/o combobox. In Lazarus better use Enabled:=false and it has indication for some control

[Lazarus] visual appearance of ReadOnly state widgets

2017-05-10 Thread Graeme Geldenhuys via Lazarus
Hi, Is it normal for read-only LCL widgets to look identical to their Read/Write state? For example in fpGUI read-only widgets look visibly different. See attached animated GIF. But with a LCL application I'm working on, read-only widgets don't have any indication that they are read-only at all.