Recent

Author Topic: "Grayed" CheckBox  (Read 6283 times)

VTwin

  • Hero Member
  • *****
  • Posts: 793
  • Former Turbo Pascal 3 user
"Grayed" CheckBox
« on: August 16, 2018, 08:23:15 pm »
A "grayed" (mixed) CheckBox does not appear to be working in Cocoa, either by clicking or in code.

Code: Pascal  [Select]
  1. cb.AllowGrayed := true;
  2. cb.State := cbGrayed;
  3.  

Using current updated trunk compiled for Cocoa. It works in Carbon, Windows, and Linux. Would appreciate confirmation before reporting bug. Project files attached.

I built it using Cocoa IDE, and noticed that context menus are not working in the editor tabs (i.e., control click to close a tab) or editor window.
« Last Edit: August 16, 2018, 08:43:01 pm by VTwin »
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.13.6: Lazarus 2.0.7 fixes svn 62300 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.6 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.6 (64 bit on VBox)
fpc 3.0.4

VTwin

  • Hero Member
  • *****
  • Posts: 793
  • Former Turbo Pascal 3 user
Re: "Grayed" CheckBox
« Reply #1 on: August 17, 2018, 07:39:10 pm »
Bug reported (0034142)
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.13.6: Lazarus 2.0.7 fixes svn 62300 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.6 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.6 (64 bit on VBox)
fpc 3.0.4

VTwin

  • Hero Member
  • *****
  • Posts: 793
  • Former Turbo Pascal 3 user
Re: "Grayed" CheckBox
« Reply #2 on: August 18, 2018, 05:00:41 pm »
Resolved by Dmitry in 58736. Thanks!
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.13.6: Lazarus 2.0.7 fixes svn 62300 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.6 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.6 (64 bit on VBox)
fpc 3.0.4