Thema: Delphi TStringgrid

Einzelnen Beitrag anzeigen

Klaus01

Registriert seit: 30. Nov 2005
Ort: München
5.755 Beiträge
 
Delphi 10.4 Sydney
 
#2

Re: TStringgrid

  Alt 15. Aug 2006, 20:15
Um den EditMode zu verhindern wird Dir
nicht viel anderes übrig bleiben als F2 und Enter
im StringGrid abzufangen.

Ein Auszug aus der Hilfe:
Zitat:
Description

Set EditorMode to True, at runtime, to put the grid in edit mode.
When EditorMode is True, the user can edit cells in the grid.
When the user presses F2, EditorMode is set to True.
When the user presses Enter, the value of EditorMode is toggled.

Note: EditorMode has no effect if the Options property does not include
goEditing or if the Options property includes goAlwaysShowEditor.


Aber vielleicht hat hier noch jemand eine andere Idee.

Grüße
Klaus
Klaus
  Mit Zitat antworten Zitat