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
Hi,   I just did a little test in Qt Designer. There seems to be no difference in QLineEdit (TEdit). There is sometimes difference in editable and non-editable QComboBox (depends on style - QtCurve, Oxygen, Breeze are different, Windows style is identical).   OTOH, your fpGUI read-only controls

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.

Re: [Lazarus] Menu editor unstable? - stack trace

2017-05-10 Thread Michael Van Canneyt via Lazarus
On Wed, 10 May 2017, Michael Van Canneyt via Lazarus wrote: I have reported it as a bug. https://bugs.freepascal.org/view.php?id=31791 I attached 2 backtraces to the bug report. One when the warning happens (I put a breakpoint there) One when the AV happens. Hopefully this helps. Micha

Re: [Lazarus] Menu editor unstable? - stack trace

2017-05-10 Thread Michael Van Canneyt via Lazarus
On Wed, 10 May 2017, Mattias Gaertner via Lazarus wrote: On Wed, 10 May 2017 00:06:35 +0200 (CEST) Michael Van Canneyt via Lazarus wrote: [...] > I have tested here: > 64bit Linux Mint 18.1 Cinnamon, GTK2 version 2.24.30, Lazarus 1.9.0 > r54844 FPC 3.0.2 x86_64-linux-gtk2 This is the ex