Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Leo,
9. Mai 2003
type
TQuelltextBox = class(TPanel)
protected
{ Protected-Deklarationen }
procedure KeyPress(Sender: TObject; var Key: Char); virtual;
procedure KeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); virtual;
Projekt : TProjekt;
public
{ Public-Deklarationen }
property OnKeyPress;
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Leo,
9. Mai 2003
Warum reagiert das Panel dann auf "Entf","Bild auf","Bild ab" Tasten etc. und auf normale Buchstaben etc. sind das etwa keine Tastaturereignisse?
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Leo,
9. Mai 2003
TQuelltextBox ist kein Form sondern eine von TPanel abgeleitete Komponenete in einem Form.
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Leo,
9. Mai 2003
Hallo,
ich habe gerade im Zusammenhang mit KeyPreview diesen Satz in der Hilfe gefunden
"Die Einstellung bezieht sich nicht auf Navigationstasten (TAB, Pfeiltasten usw.), da diese keine Tastaturereignisse auslösen."
Wie reagiert man den dann auf Pfeiltasten?
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Leo,
9. Mai 2003
Hilft leider gar nichts :(
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
Delphi
by Leo,
8. Mai 2003
Hallo,
Warum reagiert die Procedur auf Tataur Ereignisse der
"Einfg","Entf","Pos1","Ende" etc. Tasten aber warum wird sie nicht aufgerufen, wenn ich die Pfeiltasten betätige?
procedure TQuelltextBox.KeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
case key of