Einzelnen Beitrag anzeigen

WojTec

Registriert seit: 17. Mai 2007
482 Beiträge
 
Delphi XE6 Professional
 
#1

Change one value + many OnChange events = stack overflow

  Alt 30. Dez 2011, 18:44
Delphi-Version: 2010
Sorry guys, I must ask yet another question, I know I'm bothering you, but I can't fix it my self

I'm trying make own color picker.
I have visual picker and edits with values. All componenta has OnChange events to update rest values.

And you know what next: after change one value all OnChange events are handled and finally program crashes with stack overflow.

How it should be to after one change just update rest controls and don't call OnChange from these controls (just on OnChange from control which is actually touched).
  Mit Zitat antworten Zitat