Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-07

Carbon: CheckBox and AllowGrayed

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bent Normann Olsen

Hi,

Checking AllowGrayed for a CheckBox component, and running it on a Carbon application, have no effect when you click on it - it only toggles between cbChecked and cbUnchecked, although you can set the State property to cbGrayed both at design time and runtime.

I checked this on Lazarus Win32, and it can toggles between the three states.

Is this a bug, or will I have to work around this?

Regards,
Normann

Reply by email

Paul Ishenin
to Bent Normann Olsen

Bent Normann Olsen ?????:

Show quoted text 11 lines
Hi, Checking AllowGrayed for a CheckBox component, and running it on a Carbon application, have no effect when you click on it - it only toggles between cbChecked and cbUnchecked, although you can set the State property to cbGrayed both at design time and runtime. I checked this on Lazarus Win32, and it can toggles between the three states. Is this a bug, or will I have to work around this?

This feature has been implemented by me only for win32 (wince?), gtk2 and qt. Carbon was not touched.

Feel free to implement yourself and send us a patch.

Best regards,
Paul Ishenin.

Reply by email