Autor Beitrag
G-man
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 258

Win 2000, Win ME, SuSE 8.2
D5 Standard, D6 Professional
BeitragVerfasst: Di 09.09.03 14:49 
Moin,
kann mir jemand vielleicht sagen, wie man ein StrinGrid mit einem Suchendialog durchsucht?

_________________
...To err is human, but to really foul things up requires a computer.
barfuesser
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 324



BeitragVerfasst: Di 09.09.03 15:28 
Durchiterieren?

barfuesser
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Di 09.09.03 15:49 
G-man hat folgendes geschrieben:
kann mir jemand vielleicht sagen, wie man ein StrinGrid mit einem Suchendialog durchsucht?

Mit einem Suchdialog wohl gar nicht. Der Suchdialog stellt ja nur die Schnittstelle zwischen dem User und dem Programm her. Das suchen musst du wohl selbst erledigen.

Du kannst in zwei For-Next-Schleifen das StringGird Zelle für Zelle überprüfen ob der Suchbegriff in der Zelle existiert. Wenn ja dann markierst du die Zelle.

Gruß
Tino
G-man Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 258

Win 2000, Win ME, SuSE 8.2
D5 Standard, D6 Professional
BeitragVerfasst: Di 09.09.03 15:58 
Sorry, das ich mich unpräzise ausgedrückt habe, das mit dem Suchdialog ist schon klar...

_________________
...To err is human, but to really foul things up requires a computer.
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Mi 10.09.03 09:38 
G-man hat folgendes geschrieben:
Sorry, das ich mich unpräzise ausgedrückt habe, das mit dem Suchdialog ist schon klar...

Ok, kein Problem :-D

Gruß
Tino