Autor Beitrag
Schumi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 33

Win XP, Linux
D7 Prof., D2006 Entpr.
BeitragVerfasst: Di 07.10.03 09:22 
Hallo,

gibt es eine Möglichkeit, die Daten in einem StringGrid automatisch auf- oder absteigend zu sortieren, indem man auf die Spaltenbezeichnungen klickt?

Wäre für einen Tip sehr dankbar!
Keldorn
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 2266
Erhaltene Danke: 4

Vista
D6 Prof, D 2005 Pro, D2007 Pro, DelphiXE2 Pro
BeitragVerfasst: Di 07.10.03 09:54 
swissdelphicenter.ch.../showcode.php?id=449

mit der Suche solltest auch was finden. Suche in: Delphi-Forum, Delphi-Library STRINGGRID SORTIEREN

die angeklickte Spalte kannst du bei mousedown/up mit mousetocell ermitteln.

Mfg Frank

_________________
Lükes Grundlage der Programmierung: Es wird nicht funktionieren.
(Murphy)