Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Adding buffer to columns
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Adding buffer to columns

 Post Reply Post Reply
Author
Message
rag6419 View Drop Down
Newbie
Newbie
Avatar

Joined: 07 March 2006
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote rag6419 Quote  Post ReplyReply Direct Link To This Post Topic: Adding buffer to columns
    Posted: 12 June 2006 at 2:03pm
In 9.80 is there a way to set a padding to the left of text within a column?
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 15 June 2006 at 4:29pm
add some spaces in front of the item...?

--
WBR,
Serge
Back to Top
rag6419 View Drop Down
Newbie
Newbie
Avatar

Joined: 07 March 2006
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote rag6419 Quote  Post ReplyReply Direct Link To This Post Posted: 16 June 2006 at 1:16pm
We couldn't do that since we use the exact string out of it (couldn't use a trim to remove the spaces), so overriding the draw functions is what we're doing.  We'll allow everything to paint (background, etc), then adjust the left edge of the text area before it gets painted.
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 18 June 2006 at 4:03pm
Sounds right. So, it there any problem with this solution?

--
WBR,
Serge
Back to Top
rag6419 View Drop Down
Newbie
Newbie
Avatar

Joined: 07 March 2006
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote rag6419 Quote  Post ReplyReply Direct Link To This Post Posted: 19 June 2006 at 12:02pm
No problem with doing it, but for others, it might be nice to be able to set a pixel offset like there appears to be for headers.
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.188 seconds.