Results 1 to 4 of 4

Thread: CanGrow RPTLabels do not take account Tabs

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2015
    Posts
    915

    CanGrow RPTLabels do not take account Tabs

    Hello everyone
    Is there a way to format a datareport label by keeping some space at the beginning of each line the same way I'm doing with the label on the form.
    this is how I'm doing.
    Code:
    DRt1.Sections("Section1").Controls("Label1").Caption = Label1.Caption
    But it is not printing with the same format and layout though I'm using the same font size.
    thank you

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,482

    Re: CanGrow RPTLabels do not take account Tabs

    Aside from justification there isn't much available. I suppose you could pad stuff out with non-breaking-space characters, i.e. ChrW$(&HA0&) characters,

    For many locales you can even enter those into literals in your code. Copy from Character Map, paste into the IDE. But they just look like plain old spaces there so it can be easy to screw them up.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2015
    Posts
    915

    Re: CanGrow RPTLabels do not take account Tabs

    excuse me sir
    but I did not understand

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2015
    Posts
    915

    Re: CanGrow RPTLabels do not take account Tabs

    Does anyone have an idea how to fix this problem?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width