Recent

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

VTwin

  • Hero Member
  • *****
  • Posts: 1215
  • 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

Free Pascal Compiler 3.2.2
macOS 12.1: Lazarus 2.2.6 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 2.2.6 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.2.6 (64 bit on VBox)

VTwin

  • Hero Member
  • *****
  • Posts: 1215
  • 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

Free Pascal Compiler 3.2.2
macOS 12.1: Lazarus 2.2.6 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 2.2.6 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.2.6 (64 bit on VBox)

VTwin

  • Hero Member
  • *****
  • Posts: 1215
  • 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

Free Pascal Compiler 3.2.2
macOS 12.1: Lazarus 2.2.6 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 2.2.6 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.2.6 (64 bit on VBox)

 

TinyPortal © 2005-2018