Autor Beitrag
csigg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Fr 15.07.05 12:32 
Ich hab ein DBGrid in welchem RowSelect markiert ist, also kein Edit.
Jetzt hätt ich gern, wenn man die taste STRG + e oder + b drückt, dass man dann in den Edit modus kommt.
Wie mach ich das am besten, und wie kann ich eine tastenkombination(STRG und E) abfangen??
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Fr 15.07.05 13:09 

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
csigg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Fr 15.07.05 13:22 
hab da irgendwie nirgends was passendes gefunden, was mir weiter hilft.
csigg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 706

WIn XP, Win NT, Win2000, Suse8.0
Delphi 5, Delphi 6
BeitragVerfasst: Fr 15.07.05 13:41 
Also ich habs bis jetzt mal so:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
else if (key = 69) OR (key = 101)then
begin
dbgAnwesend.Options := [dgEditing,dgTitles,dgRowLines];
end

Allerdings wird dann automatish das Feld in der entsprechenden zeile, die Erste Spalte markiert, ich hätte aber gern die 2.Spalte.