TShiftState type variable/de
Zurück zu den Zusätzlichen Informationen.
Dieser Artikel beschäftigt sich mit:
- der Windowsprogrammierung\
- der Formularprogrammierung\
Hier werden die Elemente der Aufzählung TShiftState beschrieben.
| Bezeichnung | Dezimalwert | Hexwert | Kommentare |
|---|---|---|---|
| ssAlt | 1 | $01 | Taste: ALT |
| ssAltGr | 10 | $0A | Taste: ALT GR |
| ssCaps | 11 | $0B | Taste: CAPS |
| ssCtrl | 2 | $02 | Taste: STRG |
| ssDouble | 6 | $06 | Maustaste: Doppelklick linke Maustaste |
| ssExtra1 | 16 | $10 | Taste: ?? |
| ssExtra2 | 17 | $11 | Taste: ?? |
| ssHyper | 9 | $09 | Taste: Hyper key / Menütaste |
| ssLeft | 3 | $03 | Maustaste: Einfachklick linke Maustaste |
| ssMeta | 7 | $07 | Taste: Meta key |
| ssMiddle | 5 | $05 | Maustaste: Einfachklick mittlere Maustaste |
| ssNum | 12 | $0C | Taste: NUM LOCK |
| ssQuad | 15 | $0F | Maustaste: Vierfachklick linke Maustaste |
| ssRight | 4 | $04 | Maustaste: Einfachklick rechte Maustaste |
| ssScroll | 13 | $0D | Taste: ROLLEN (Scroll lock) |
| ssShift | 0 | $00 | Taste: UMSCHALT-Taste (Shift) |
| ssSuper | 8 | $08 | Taste: Super-Taste / Windowstaste / Windows-Logo-Taste |
| ssTriple | 14 | $0E | Maustaste: Dreifachklick linke Maustaste |
Beispiel für eine Verwendung im OnClick Ereignis des Formulars:
begin
if (ssShift in Shift) then
ShowMessage('Hallo');
end;From the Free Pascal wiki, page "TShiftState type variable/de", as it stood on 2020-03-02 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.