I just created themedbutton, by referring code of ThemedControls project in VFPX. It is quite easy to follow.

Normal

Hover

Focused

However, it is not completed. There are some limitation/enhancements required:

  • Anchoring is not yet supported. (VFP doesn't anchor internal controls if parent container is adjusted during design time)
  • Only Click event is supported.
  • It is based on control base class. Native command button property such as picture margin, spacing and position is not yet implemented.
  • Only picture with size 16X16 pixels is supported.
  • That are "ugly" parts at four corners.