Home Component Writing

Line specing in DBMemo field ???

edited April 2003 in Component Writing
Hi there,

Ik would like to know if it is possible to set the line spacing in a DBMemo
field by hand



wkg

Raymond

Comments

  • edited April 2003
    Set the DBMemo.Leading property in report units.

    Please do not cross post.

    --
    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited June 2003
    Hi Jim,

    Not sure how the Leading property works, but even when I set it to 0
    (zero), The line spacing is too big. Is there a way to make it smaller?

    Thanks

    -Dominique

  • edited June 2003
    The line spacing is set based on the font size. Each font has its own
    internal leading. This isn't controllable from RB, as we just call
    GetTextMatric for a font and add any leading that you want on top of this
    value when spacing lines of a memo. Try settign Memo.Leading to a negative
    value. It should work when you do this.

    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.