Is it possible to determine DBRichtext height at runtime
Is it possible to determine the DbRichtext component height at runtime after
it has been populated.
We need to set visibility on or off on a supplemental page based on whether
the height when stretched reaches a critical point where it overruns into
another section of the page.
Thank you.
it has been populated.
We need to set visibility on or off on a supplemental page based on whether
the height when stretched reaches a critical point where it overruns into
another section of the page.
Thank you.
This discussion has been closed.
Comments
receive a zero value.
Bill Brittain
Unfortunately there are no events that fire late enough to determine the
calculated height of a DBRichText component. I would recommend creating a
pass-thru function and either passing the entire DBRichText object to this
routine. There, knowing the width of the control you could calculate the
projected height based on the font size of the contained text.
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com