Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Report Control
  New Posts New Posts RSS Feed - Word Wrap and Top Alignment
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Word Wrap and Top Alignment

 Post Reply Post Reply
Author
Message
John31 View Drop Down
Groupie
Groupie
Avatar

Joined: 08 December 2005
Location: United States
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote John31 Quote  Post ReplyReply Direct Link To This Post Topic: Word Wrap and Top Alignment
    Posted: 11 May 2006 at 9:37am

I am using the xtpAlignmentLeft Or xtpAlignmentWordBreak flags for the last two columns.  However, when one is a single line as in the first entry I want it to be Aligned to Vertical Top.  How can I get rid of the vertical center on this column?  I think all other columns not wrapped should be aligned to the top by default unless xtpAlignmentVCenter is specifically set.

Regards

John Layton
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 May 2006 at 5:45pm
Hi,

the default behavior is following: it calculates the height of the biggest row and makes all others with the same size, centering text vertically for each of them, not depending on text lenght.

You can not change this behavior for Report ActiveX, but you can try some workarounds. For example, adding a number of spaces in the end of the text should help, because it will be drawing it on 2 lines... I see that this is not a good solution, but probably its better than nothing.

--
WBR,
Serge
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.203 seconds.