![]() |
Re: Stringgrid akzeptiert nicht gewünschte Zeichen
Zitat:
Delphi-Quellcode:
in der OH: Teditmask heißt das Zauberwort und viel einfach ausprobieren
procedure TForm1.StringGrid1GetEditMask(Sender: TObject; ACol,
ARow: Integer; var Value: String); begin case acol of 1 : Value := '9999;0; '; //maximal vierstellige zahl erlaubn 2 : Value := '99999999;0; '; //maximal achtstellige zahl 3 : Value := '99999999;0;_'; //maximal achtstellige zahl, leerzeichen als _ darstellen else Value := ''; //alles erlauben end; //of case end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 12:18 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