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:
If you're wondering, this was partly a workaround for the fact FMX
doesn't have a 'parent font' concept like the VCL. Anyhow, the code
seemed to work fine until I enabled drag and drop. In FireMonkey, the drag
image for an internal drag and drop operation is dynamically created from
the image of the dragged control (good), but in my case,
Link URL*:
http://delphihaven.wordpress.com/2013/07/05/parent-property-in-paint-method/

Post a Comment