Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.671 Beiträge
 
#1

Don’t expect the Parent property to be set inside an FMX control’s Paint method

  Alt 5. Jul 2013, 20:10
So… I’m working on a little custom FireMonkey control. As in the VCL, if you want to handle drawing a custom control yourself, you need to override its Paint method. In my case the override was looking like this: procedure TMyChildControl.Paint; begin if (Parent nil) and ...

More...
  Mit Zitat antworten Zitat