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: 226
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 20157, Toolkit Pro 18.3.0
Back to Top
Fredrik View Drop Down
Senior Member
Senior Member


Joined: 22 June 2005
Status: Offline
Points: 226
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 20157, Toolkit Pro 18.3.0
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.