The TabStopPositions in the TppCustomMemo object should be defined in report units. If your report units are set to mm, you will need to define your tab stop positions in mm. See the RB help file on the TppCustomMemo.TabStopPositions topic for more information.
i looked into the help file. I know that i must define the TabStopPositions in report units.
My problem is that the TDBMemo needs the value in Dialog-Box-Units. Default is 32, i set it to 16. The TppDBMemo needs the TabStop value in report units (for me in mm). How can i calculate Dialog-Box-Units to mm for the TppDBMemo?
I am not familiar with Dialog-Box-Units but if this is Screen Pixels, you will need to first find out what your screen resolution is in order to calculate how many screen pixels are in a millimeter. There are a few useful routines located in the ppUtils.pas file such as ppFromMMThousandths and ppToMMThousandths which could help you make these conversions.
Comments
The TabStopPositions in the TppCustomMemo object should be defined in report
units. If your report units are set to mm, you will need to define your tab
stop positions in mm. See the RB help file on the
TppCustomMemo.TabStopPositions topic for more information.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
i looked into the help file. I know that i must define the TabStopPositions
in report units.
My problem is that the TDBMemo needs the value in Dialog-Box-Units. Default
is 32, i set it to 16.
The TppDBMemo needs the TabStop value in report units (for me in mm).
How can i calculate Dialog-Box-Units to mm for the TppDBMemo?
Cheers,
J?rgen
I am not familiar with Dialog-Box-Units but if this is Screen Pixels, you
will need to first find out what your screen resolution is in order to
calculate how many screen pixels are in a millimeter. There are a few
useful routines located in the ppUtils.pas file such as ppFromMMThousandths
and ppToMMThousandths which could help you make these conversions.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com