Einzelnen Beitrag anzeigen

Benutzerbild von Stevie
Stevie

Registriert seit: 12. Aug 2003
Ort: Soest
4.017 Beiträge
 
Delphi 10.1 Berlin Enterprise
 
#21

AW: My Delphi 2010 is sick

  Alt 9. Jul 2012, 14:59
Stevie's ideas are -of course- correct, but I don't like having to add code in each and every event handler for the rest of my (programmers) life just to make sure, I don't get caught in these side effects caused by the loading order of components.
That is true for the second solution which would only be a workaround for a bug in the TBMDSpinEdit class. Fixing this was my first solution because reading a component from the dfm should not trigger events on itself. (for example TEdit never triggers the OnChange when reading its Text property from the dfm)
Stefan
“Simplicity, carried to the extreme, becomes elegance.” Jon Franklin

Delphi Sorcery - DSharp - Spring4D - TestInsight

Geändert von Stevie ( 9. Jul 2012 um 15:02 Uhr)
  Mit Zitat antworten Zitat