Autor Beitrag
Talemantros
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 444
Erhaltene Danke: 2

Win7 Proff 64bit
C# (VS2013)
BeitragVerfasst: Fr 30.05.14 20:39 
Hi,
kann man irgendwie erfragen, ob ein ErrorProvider gerade aktuell einen Fehler anzeigt?
Wenn ich das mit GetError mache müsste ich alle TextBoxen abfragen!

Geht dies auch anders?

Gruß
Th69
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Moderator
Beiträge: 4805
Erhaltene Danke: 1061

Win10
C#, C++ (VS 2017/19/22)
BeitragVerfasst: Sa 31.05.14 09:37 
Du kannst die ErrorProvider doch auch in eine Liste packen (und zusätzlich gleich ganz dynamisch erzeugen), und dann diese Liste durchlaufen.
Ralf Jansen
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 4708
Erhaltene Danke: 991


VS2010 Pro, VS2012 Pro, VS2013 Pro, VS2015 Pro, Delphi 7 Pro
BeitragVerfasst: Sa 31.05.14 13:15 
Warum sollte man das brauchen?
Yankyy02
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 138
Erhaltene Danke: 21

Win 11 x64
C# (VS 2022 - Rider)
BeitragVerfasst: Sa 31.05.14 15:24 
Hallo Talemantros,

dazu gibt es ein schönes Beispiel auf Code Project was dein allgemeines Vorhaben glaub ich gut beschreibt. Einen Blick darauf zu riskieren schadet sicher nicht .... www.codeproject.com/...put-in-Windows-Forms

MfG
Talemantros Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 444
Erhaltene Danke: 2

Win7 Proff 64bit
C# (VS2013)
BeitragVerfasst: So 01.06.14 08:57 
Danke und schönen sonnigen Sonntag