![]() |
Position im Tstringrid
Hi zusammen
wie kann ich rausfinden wo ich mich im StringGrid befinde?? Thx for help! Mfg Freeze |
Die Eigenschaften Row und Col (oder Column) sollten die Infos eigentlich bereithalten.
...:cat:... |
das ist schon klar ...
was ich meinte war: wenn jmd im StringGrid klickt, wie weiß ich wo geklickt wurde?? |
Hallo,
das hilft:
Delphi-Quellcode:
Grüsse, Daniel :hi:
procedure TForm1.StringGrid1SelectCell(Sender: TObject; ACol,
ARow: Integer; var CanSelect: Boolean); begin Label1.Caption := IntToStr(ACol); Label2.Caption := IntToStr(ARow); end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:40 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz