Kbase 13581: What is USE-3D-SIZE? How and When to use it for 3D issues?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
What is USE-3D-SIZE? How and When to use it for 3D issues?
What is USE-3D-SIZE?
--------------------
USE-3D-SIZE is a progress.ini setting that is available beginning
with Version 7.3A. If it set to YES, Progress will use
the recommended calculation for the size of a widget when
displaying a widget which is to include the 'shading' pixels
in the size calculation of the widget. If it is set to NO
Progress will use a previously-used algorithm for
calculating the size of the widget, excluding the 'shading'
pixels in determining the size of the widget.
IMPORTANT: The default setting for USE-3D-SIZE differs
between Version 7.3A and Version 7.3B. In 7.3A, the default
is NO. In 7.3B and later, the default is YES.
The difference in default settings means that widgets
created in 7.3A programs will by default appear larger
(taller) when run on 7.3B. To display widgets as
the same size on 7.3B as in 7.3A, USE-3D-SIZE should be
set to NO in the PROGRESS.INI file:
USE-3D-SIZE=no
What should USE-3D-SIZE be set to?
----------------------------------
In the commercial release of Version 7.3A, Progress changed how
it calculates the size of a 3D field from the way it had been
calculating them in the Beta versions of 7.3A. This caused
problems when the beta customers went to the 7.3A release
since all fields suddenly appeared smaller. In order to help
these customers, Progress added the USE-3D-SIZE setting in
the progress.ini file. If you were a beta customer who did
not want to change the size of your widgets to correspond to
the new size calculation, then you can set USE-3D-SIZE=NO.
This will retain the old calculation and not require any
changes on your part. If you are a new user to the
commercial version of 7.3A and you will be creating 3D
widgets for the first time, it is recommended that you set
USE-3D-SIZE = Yes in your progress.ini. This will ensure
that you are using the correct calculation for size of 3D
widgets and you will not experience any of the problems that
can be associated with USE-3D-Size=No and 3D widgets.
What problems will you see if USE-3D-SIZE=NO?
---------------------------------------------
If USE-3D-SIZE is set to NO then the calculation on the
size of the widget will exclude the pixels that are at the
top and left side of the widget (the pixels that appear
darker to give the shading effect). When widgets are
displayed, there can be some overlap problems because these
pixels are not included in the size of the widget. For
instance, you may see that in some cases the shading appears
lighter than in other instances. This is because the label
of the widget was displayed last and is slightly overlapping
the widget itself, thereby overwriting the pixels that give
you the shading. By tabbing around through your screen, you
may see that the shading 'returns' because the widget has
been redrawn and the overlaps the label.
Summary
-------
If you are developing on 7.3A for the first time (you were
never a beta customer) then you will want to set USE-3D-SIZE
to YES. This will ensure that the recommended calculation
is being used and you will have no problems whatsoever.
If you were a beta customer who developed an application
full of 3D widgets, you have the following choices when
using the commercial version:
1) Set USE-3D-SIZE=NO with some minor display glitches as
described above
*OR*
2) Set USE-3D-SIZE=YES and then adjust the size of your
widgets so that they look the way you want them to.
Progress Software Technical Support Note # 13581