Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
WrapHeaderText Problem
posted

I have the necessity to don't wrap the header text when I resize the column, I want it show the column with "..." when can't write all the caption and don't wrap the text. I try all the way

Setting:
WrapHeaderText = False in all the part
ColHeaderLines = 1

I don't use autoFilStyle

but all the time I resize by hand the header it wrap the text

Parents
No Data
Reply
  • 69832
    Suggested Answer
    Offline posted

    As far as I can tell setting WrapHeaderText to True (along with setting ColHeaderLines > 1) is the only way to get the header text to wrap, that is, by default the text does not wrap. My first suspicion would be that these properties are getting set somewhere else in the code, so you should search for the text "WrapHeaderText" and see if it appears somewhere else in the code. If you have ruled this out, please attach a simple sample that demonstrates this behavior and we will figure out why the text is wrapping.

Children
No Data