Menu

TDPFButton Text align

hanspi
2013-10-19
2013-10-20
  • hanspi

    hanspi - 2013-10-19

    Hi

    How can I set Text align on a TDPFButton? For ex. I need to show the ForegroundImage on the top and the text value on bottom.

    Thanks.

    Regards

     
  • Babak Yaghoobi

    Babak Yaghoobi - 2013-10-19

    Hi hanspi

    Donwload last source [code]

    Add TDPFImageView component on the TDPFButton and set align to top then set TDPFButton.ContentVerticalAlignment = ccvaBottom

    regards

     

    Related

    Code: code

  • hanspi

    hanspi - 2013-10-20

    It works, thank you Babak!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.