Sign in Join

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

Mailing lists / lazarus / 2015-03

TShortcut properties

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Howard Page-Clark

Descendants of TCustomCheckbox and TCustomButton have public Shortcut and ShortcutKey2 properties which cannot be set since they are read-only. What is the purpose of these properties?

Howard

---
This email has been checked for viruses by Avast antivirus software. http://www.avast.com

Reply by email

Mattias Gaertner
to Howard Page-Clark
Descendants of TCustomCheckbox and TCustomButton have public Shortcut and ShortcutKey2 properties which cannot be set since they are read-only. What is the purpose of these properties?

The first is extracted from the Caption.
The second was apparently only started by someone, but not finished.

Mattias

Reply by email

Howard Page-Clark
to Mattias Gaertner
Mattias Gaertner wrote 9 lines
On Tue, 03 Mar 2015 16:31:59 +0000 Howard Page-Clark wrote: > Descendants of TCustomCheckbox and TCustomButton have public Shortcut > and ShortcutKey2 properties which cannot be set since they are read-only. > What is the purpose of these properties? The first is extracted from the Caption. The second was apparently only started by someone, but not finished.

Is it now realistic to expect whatever 'someone' planned as new functionality to be finished? If not, should the code associated with these properties be removed to lighten the LCL by a few bytes?

Howard

---
This email has been checked for viruses by Avast antivirus software. http://www.avast.com

Reply by email