dw_component.modify(ls_name_string + '.alignment="0"')
dw_component.modify(ls_name_string + '.font.escapement="900"')
where ls_name_string is the name of the column. All this seems to do is
move my text downward and to the right. But it is still horizontal!
Any one out there have any thoughts on this?
Thanks for your help,
Steve Hansen
First SetRedraw(False) and after doing all your dw code set it again to
True. It may work.
Best of luck,
Somnath Ukil
su...@quint-software.com
Steve Hansen wrote in message <3634E00B...@hotmail.com>...
Thanks anyway,
Steve Hansen
Steve Hansen <steve_...@hotmail.com> wrote in article
<363601A2...@hotmail.com>...
dw_component.modify(ls_name_string + '.font.face="Arial"')
dw_component.modify(ls_name_string + '.font.escapement="900"')
Now for the next problem, as the text rotates, it rotates entirely out
of the visible area on the datawindow. Any ideas on that? Alignment
does not affect where the text actualy ends up being positioned. I do
not care if the text is rotated negative or positive. Incidentally, if
you rotate it with a positive escapement, it appears to rotate around
its upper left corner, and if you rotate it with a negative escapement,
it appears to rotate around its lower left corner. Either way it
rotates out of the datawindow.
Also the field is not exactly editable. At least, it's not visible
while you edit it.
Steve Hansen
If that doesn't work, check the height of the object's band?
Steve Hansen <steve_...@hotmail.com> wrote in article
dw_component.modify(ls_name_string + '.height="445"')
dw_component.modify(ls_name_string + '.width="50"')
dw_component.modify(ls_name_string + '.border="6"')
dw_component.modify(ls_name_string + '.alignment="2"')
dw_component.modify(ls_name_string + '.font.face="Arial"')
dw_component.modify(ls_name_string + '.font.escapement="900"')
The object is big enough to display about 1-2 characters wide by about
15-20 long rotated 90 degrees. However, if you rotate it 90 degrees,
the text completely disappears. To figure out what was happening, I
rotated the text at several increments between -90 degrees and 90
degrees, it actually fall out of the object and disappears. (For lack of
a better way of describing it.)