Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Text alignment of CXTPReportRecordItemButton
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Text alignment of CXTPReportRecordItemButton

 Post Reply Post Reply
Author
Message
Fredrik View Drop Down
Senior Member
Senior Member


Joined: 22 June 2005
Status: Offline
Points: 134
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fredrik Quote  Post ReplyReply Direct Link To This Post Topic: Text alignment of CXTPReportRecordItemButton
    Posted: 31 May 2017 at 8:12am
Hi, 

How can one center align text in a CXTPReportRecordItemButton if you have aligned the button itself to the right?

Right now, if you set alignment to xtpItemControlRight both the button and the text will be right aligned. If you don't call SetAlignment, the button will appear to the left but the text centered.... 



Windows 10, Visual Studio 2015, Toolkit Pro 17.0.0 RC
Back to Top
Fredrik View Drop Down
Senior Member
Senior Member


Joined: 22 June 2005
Status: Offline
Points: 134
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fredrik Quote  Post ReplyReply Direct Link To This Post Posted: 12 June 2017 at 4:31am
Just tried it on v18. Seems to be impossible to have a left-aligned or centered text on a CXTPReportRecordItemButton if you want the button on the right hand side... ?
Windows 10, Visual Studio 2015, Toolkit Pro 17.0.0 RC
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.078 seconds.