[Lazarus] True/False in Object Inspector

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] True/False in Object Inspector

Free Pascal - Lazarus mailing list
It seems no longer possible to toggle a property true/false with double
click. Is this a bug?

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] True/False in Object Inspector

Free Pascal - Lazarus mailing list
On 11.06.2017 8:05, kapibara via Lazarus wrote:
> It seems no longer possible to toggle a property true/false with
> double click. Is this a bug?

It works here. What OS/WS? What settings (checkboxes or comboboxes for
bool values)?

Ondrej
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] True/False in Object Inspector

Free Pascal - Lazarus mailing list
On 11/06/2017 09:30, Ondrej Pokorny via Lazarus wrote:
> On 11.06.2017 8:05, kapibara via Lazarus wrote:
>> It seems no longer possible to toggle a property true/false with
>> double click. Is this a bug?
>
> It works here. What OS/WS? What settings (checkboxes or comboboxes for
> bool values)?

I just tested this on win32 (current Lazarus trunk)

Having checkboxes for boolean.

If the row in the OI is NOT selected, then doubleclick works (or maybe
it does select, then change).

If the row in the OI is already selected, doubleclick does not work (it
is 2 individual clicks, changing twice / back to original value)

For comboboxes (enum/not bool) it makes no different if they are
selected or not. they always go to the next value on doubleclick.
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] True/False in Object Inspector

Free Pascal - Lazarus mailing list
On Sun, Jun 11, 2017 at 4:23 PM, Martin Frb via Lazarus
<[hidden email]> wrote:
> If the row in the OI is NOT selected, then doubleclick works (or maybe it
> does select, then change).

Yes it is interpreted as 2 clicks.
FYI: you can change an unselected checkbox in OI by clicking the
actual box once.


> If the row in the OI is already selected, doubleclick does not work (it is 2
> individual clicks, changing twice / back to original value)

It is consistent with the standard checkbox behavior.
They work with a single click.

I wonder what kapibara's problem was.
Checkboxes never required a double-click.
Comboboxes still work with it.
???

Juha
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] True/False in Object Inspector

Free Pascal - Lazarus mailing list
Am 11.06.2017 um 22:04 schrieb Juha Manninen via Lazarus:

> I wonder what kapibara's problem was.
> Checkboxes never required a double-click.
> Comboboxes still work with it.
> ???

He probably had a very old Lazarus from the times when the OI displayed
boolean values as true/false, without a checkbox (Laz 1.2 or so). Or he
had unchecked the box "Use checkbox for boolean values" in "Tools" >
"Environment" > "Object Inspector" of more recent versions. In these
cases, a double-click is required to toggle the state (like in Delphi
7). If he installed a new version now, Laz1.8RC2 maybe, then he will be
missing the old behavior because the new version comes up with
checkboxes by default.
--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] True/False in Object Inspector

Free Pascal - Lazarus mailing list
In reply to this post by Free Pascal - Lazarus mailing list
Lazarus version was a three weeks old trunk, GTK2 under Debian with
CheckBoxes for boolean off. After updating to r55322 some moments ago,
doubleclick toggles booleans just fine.

Before updating, the GTK2 ComboBox Style for booleans looked like
csDropDownList. Now Style is changed to csDropDown just as in Windows.
Will try remember to update more often, sorry for time wasted. =:-)

Roger


On 06/11/2017 10:30 AM, Ondrej Pokorny via Lazarus wrote:
> On 11.06.2017 8:05, kapibara via Lazarus wrote:
>> It seems no longer possible to toggle a property true/false with
>> double click. Is this a bug?
>
> It works here. What OS/WS? What settings (checkboxes or comboboxes for
> bool values)?
>
> Ondrej

--
_______________________________________________
Lazarus mailing list
[hidden email]
http://lists.lazarus-ide.org/listinfo/lazarus