Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by DeddyH,
27. Mai 2008
Der Rollstuhlfahrer hat genau das erklärt, was ich versucht habe, Dir klarzumachen :thumb: . Besser hätte ich es auch nicht sagen können.
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by DeddyH,
26. Mai 2008
Das sollte ja eigentlich der Sinn des Typs sein ;)
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by DeddyH,
26. Mai 2008
Kann das sein, dass da diverse begins und ends fehlen?
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by DeddyH,
26. Mai 2008
Das hier versteh ich überhaupt nicht:
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by DeddyH,
26. Mai 2008
Noch eine Möglichkeit: einen Typen definieren und bei Tastendruck setzen.type TTaste = (ttNone,ttLeft,ttRight,ttDown,ttTurn);
...
//privates Feld vom Typ TTaste im Form definieren und mit ttNone initialisieren
...
procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
if ((spielaktiv > 0) or (not(spielaktiv > 0) and (key <> 27))) then exit;
Forum: GUI-Design mit VCL / FireMonkey / Common Controls
by DeddyH,
26. Mai 2008
Was hat KeyPreview mit einem Timer zu tun? :gruebel: