Einzelnen Beitrag anzeigen

Benutzerbild von haentschman
haentschman
Online

Registriert seit: 24. Okt 2006
Ort: Seifhennersdorf / Sachsen
5.296 Beiträge
 
Delphi 12 Athens
 
#1

DevExpress Grid: neue Zeile mit TAB verhindern

  Alt 16. Jul 2020, 07:50
Hallöle...

...einen habe ich noch.

Wenn die Eingabe an der letzten Zelle angekommen ist, wird mit TAB ein neuer Datensatz angehängt. Das ist nicht immer gewollt. Dafür ist die Property FocusCellOnCycle zuständig.
Zitat:
Syntax
property FocusCellOnCycle: Boolean;
Description

Set this property to True to enable moving focus to the next row after it reaches the last edit cell within the current row. Otherwise, focus is moved to the first edit cell of the current row.


The default value of the FocusCellOnCycle property is False.
Die Property war checked... Auf False gesetzt. ...dachte ich.


Erwartung entsprechend der Hilfe:

Daß der Focus in der gleichen Zeile sitzt, nämlich auf der ersten Zelle/Edit.

IST:
Der Focus wandert auf das nächste Control der Form...ist auch nicht gewollt.


Was habe ich wieder übersehen?

Danke...

Geändert von haentschman (16. Jul 2020 um 07:53 Uhr)
  Mit Zitat antworten Zitat