![]() |
So nochmal für alle! So sieht ein leeres SpinEdit aus ;-):
![]() So wenn das Edit nun leer ist, dann kommt Fehler meldung! Und das sieht dan so aus: In Delphi: ![]() |
hmm,
wenn du dies in ein try/exepct setzt dann geht es sicher. Die Fehlermeldung kommt dann nur in der Entwichlungsumgebung, wenn du mal die .exe startest kommt sie nimmer. Diese Meldung ist nur zu Debuggingzwecken da.
Also
Code:
procedure TForm1.SpinEdit1Change(Sender: TObject);
begin try StringGrid1.RowCount:=SpinEdit1.Value; if StringGrid1.RowCount<10 then StringGrid1.RowCount:=10; execpt // Es klappt nicht also Irgend ein Wert rein hauen, zB. 1 oder eben 10 StringGrid1.RowCount := 10; end; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:04 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