TKeyQueue stores an array of shortcuts.
TKeyQueue = class(TPersistent);
ecKeyMap
TKeyQueue stores an array of TShortcut. TKeyQueue introduces Key property, which is a FIFO buffer of shortcuts. Add method adds new shortcuts to the queue and Clear method clears the queue. Size of the queue is limited with MaxQueueSize property. New shortcuts are added to the beginning of the queue, hence index of the new added shortcut is 0. If a new shortcut is being added last shortcut in a queue is deleted.
MaxInterval defines maximum time interval between adding shortcuts. If time interval between shortcuts exceeds MaxInterval property the queue is cleared.
Topic |
Description |
The methods of the TKeyQueue class are listed here. | |
The properties of the TKeyQueue class are listed here. |
|
Method |
|
virtual |
|
Property |
|
read only |
TKeyQueue Properties |
Description |
Indicates the number of shortcuts in a queue. | |
Stores the shortcut references. | |
Defines maximum time interval between shortcuts. | |
Defines maximum amount of shortcuts stored in the Keys. |
Copyright (c) 2004-2011. All rights reserved.
|
What do you think about this topic? Send feedback!
|