SRW.SET_CUSTOM_SPACING(spacing) - VGS Units [message #89262] |
Wed, 07 January 2004 23:18 |
DBA
Messages: 7 Registered: December 2003
|
Junior Member |
|
|
Hello everybody.
I've been wondering for a while, how exactly VGS-Units work.
I've used them in Format triggers of text-fields to set custom spacings like this:
function YT_FormatTrigger return boolean is
begin
SRW.SET_CUSTOM_SPACING(80);
/* 80 is in VGS units */
return (TRUE);
end;
From the help, i've found some explanations about vgs units:
SRW.SET_CUSTOM_SPACING(spacing)
Spacing Is a number that represents the leading in VGS units, which are very small.
(One inch is equivalent to 8192 VGS units)
OK, this number 8192 is true, but if i change the spacing to half, 4096, the output is not half inch.
Also, if i have two different text-field, other has font size 14 and other font size 12. If i put this format trigger to both of these fields, the text spacing is not the same in both fields.
Does anyone know how these vgs-units exactly work?
I've not found anything about them.
-DBA-
|
|
|