Autor Beitrag
Schmidti
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 17

Win 2000 Prof., WIN XP Rrof.
D7
BeitragVerfasst: Do 15.04.04 08:58 
Hallo,

wie kann ich denn per Tastatur in eine Tabelle (StringGrid) schreiben? Welche Einstellungen muss ich da beim StringGrid-Element verändern?

Danke!
bms
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 735

Win XP
Delphi 3, Delphi 6 PE, Delphi 2005 PE
BeitragVerfasst: Do 15.04.04 09:11 
Wie gut bist du als Programmierer? Dann das könnte ein wenig Arbeit werden.

_________________
VORSICHT: Ich behersche seit heute die Fünf-Finger-Handflächen-Herz-Explodier-Schlag-Kampf-Technik >:(
Schmidti Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 17

Win 2000 Prof., WIN XP Rrof.
D7
BeitragVerfasst: Do 15.04.04 09:16 
In PHP & MySQL sehr gut, in Delphi gut. Wieviel Aufwand ist denn nötig? Will eigentlich nur ein kleines Problem lösen und daher nicht Unmengen (mehr als 2 Stunden) an Zeit investieren.
bms
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 735

Win XP
Delphi 3, Delphi 6 PE, Delphi 2005 PE
BeitragVerfasst: Do 15.04.04 09:31 
Soweit ich es weiß geht es nicht direkt. Du kannst höhstens mit Tricks arbeiten:

Variante 1:

- Du klickst in das Feld, ermittelst die Rect Koordinate, erstellst ein Editfeld und positionierst es über den Gridfeld, positionierst den Fokus in das Editfeld, schreibst rein was rein soll, überträgst die Werte aus Editfeld in Gridfeld, entfernst das Editfeld, ubergibst den Fokus zurück.


Variante 2:

- Du klickst in das Feld, es öffnet sich eine InputBox, du schreibst rein was rein soll, überträgst die Werte in das Gridfeld.


Die zweite ist nicht das ware, aber schnell gemacht.

_________________
VORSICHT: Ich behersche seit heute die Fünf-Finger-Handflächen-Herz-Explodier-Schlag-Kampf-Technik >:(
Schmidti Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 17

Win 2000 Prof., WIN XP Rrof.
D7
BeitragVerfasst: Do 15.04.04 09:37 
Ich glaube da gefällt mir Variante zwei besser. Werde mal schauen wie ich das löse.

Danke.
Böser Borstel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 154



BeitragVerfasst: Do 15.04.04 10:55 
im objectinspektor
options
goediting = TRUE
bms
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 735

Win XP
Delphi 3, Delphi 6 PE, Delphi 2005 PE
BeitragVerfasst: Do 15.04.04 11:01 
Oje, da hab ich das wohl mit ListView verwechselt.

_________________
VORSICHT: Ich behersche seit heute die Fünf-Finger-Handflächen-Herz-Explodier-Schlag-Kampf-Technik >:(