Autor Beitrag
Josef-B
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 293

2003 Server, Win7, Win8
Delphi 2010 Pro, Firebird 2.5
BeitragVerfasst: Mo 25.01.10 13:43 
Ich möchte das Quantumgrid von Devexpress für die Eingabe von Auftragspositionen nutzen. Die Datenbank ist
Firebird 2.0 mit den IBExpress-Komponenten von Delphi, hier TIBDATASET.

Nun möchte ich den Cursor beim aktuellen Datensatz auf eine bespimmte Spalte im Grid setzen und mache das
so:

ausblenden Delphi-Quelltext
1:
viewposfaktura_menge.FocusWithSelection;					


Die Zelle ist danach auch markiert. Allerdings blinkt der Cursor nicht. Erst wenn ich die Zelle nochmals anklicke,
kann ich also die Eingabe machen.

Kennt da jemand was dazu? Vielenn Dank im Euch im Voraus.
Josef-B Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 293

2003 Server, Win7, Win8
Delphi 2010 Pro, Firebird 2.5
BeitragVerfasst: Mo 25.01.10 15:51 
Habs jetzt rausgefunden:

Das Grid selbst muss erstmal den Focus haben:

ausblenden Delphi-Quelltext
1:
2:
grid.setfocus;
viewposfaktura_menge.FocusWithSelection;