 | | From: | Erich Zippel | | Subject: | Rotation of Text | | Date: | Thu, 23 Dec 2004 21:44:13 +0100 |
|
|
 | I don't think it beeing intended behaviour (at least neither what I want or expect) but when rotating a 'TEXT' the text alignment (e.g. an overall 'center') is not respected and I get a bottom alignment instead.
Erich Zippel
|
|
 | | From: | Michael Nuwer [dBVIPS] | | Subject: | Re: Rotation of Text | | Date: | Thu, 23 Dec 2004 16:51:48 -0500 |
|
|
 | Erich Zippel wrote:
> I don't think it beeing intended behaviour (at least neither what I want or > expect) > but when rotating a 'TEXT' the text alignment (e.g. an overall 'center') is > not > respected and I get a bottom alignment instead.
Using the form below, I'm not seeing what you describe. Could you please provide more detail about what property you have set and what you expect.
** END HEADER -- do not remove this line // // Generated on 12/23/2004 // parameter bModal local f f = new UntitledForm() if (bModal) f.mdi = false // ensure not MDI f.readModal() else f.open() endif
class UntitledForm of FORM with (this) height = 5.8636 left = 32.1429 top = 1.0909 width = 40.0 text = "" endwith
this.TEXT1 = new TEXT(this) with (this.TEXT1) height = 3.0 left = 1.0 top = 1.5 width = 10.0 alignVertical = 1 // Middle alignHorizontal = 1 // Center rotate = 1 // 90 degrees text = "Text1" borderStyle = 4 // Single endwith
this.TEXT2 = new TEXT(this) with (this.TEXT2) height = 3.0 left = 13.0 top = 1.5 width = 10.0 alignVertical = 1 // Middle rotate = 1 // 90 degrees text = "Text2" borderStyle = 4 // Single endwith
this.TEXT3 = new TEXT(this) with (this.TEXT3) height = 3.0 left = 25.0 top = 1.5 width = 10.0 alignVertical = 1 // Middle alignHorizontal = 2 // Right rotate = 1 // 90 degrees text = "Text3" borderStyle = 4 // Single endwith
endclass
-- Michael Nuwer http://www.ChelseaData.ca/dLearn/ http://www.nuwermj.potsdam.edu/dSamples/
|
|
 | | From: | Erich Zippel | | Subject: | Re: Rotation of Text | | Date: | Fri, 21 Jan 2005 18:34:32 +0100 |
|
|
 | Sorry had been away for the holidays and a bit more...
Well your example works fine for me at the moment. Apparently I messed up my 'problems and bugs'-folder with a 'new-year sweep' so I can not track the example. Only I remeber I tried annotating a group of fields by a turned text and tried several versions and forms before asking.
I'll come back to that if it happens again.
Erich Zippel
"Michael Nuwer [dBVIPS]" schrieb im Newsbeitrag news:R9ZVppT6EHA.736@news-server... > Erich Zippel wrote: > >> I don't think it beeing intended behaviour (at least neither what I want >> or expect) >> but when rotating a 'TEXT' the text alignment (e.g. an overall 'center') >> is not >> respected and I get a bottom alignment instead. > > Using the form below, I'm not seeing what you describe. Could you please > provide more detail about what property you have set and what you expect. > > > ** END HEADER -- do not remove this line > // > // Generated on 12/23/2004 > // > parameter bModal > local f > f = new UntitledForm() > if (bModal) > f.mdi = false // ensure not MDI > f.readModal() > else > f.open() > endif > > class UntitledForm of FORM > with (this) > height = 5.8636 > left = 32.1429 > top = 1.0909 > width = 40.0 > text = "" > endwith > > this.TEXT1 = new TEXT(this) > with (this.TEXT1) > height = 3.0 > left = 1.0 > top = 1.5 > width = 10.0 > alignVertical = 1 // Middle > alignHorizontal = 1 // Center > rotate = 1 // 90 degrees > text = "Text1" > borderStyle = 4 // Single > endwith > > this.TEXT2 = new TEXT(this) > with (this.TEXT2) > height = 3.0 > left = 13.0 > top = 1.5 > width = 10.0 > alignVertical = 1 // Middle > rotate = 1 // 90 degrees > text = "Text2" > borderStyle = 4 // Single > endwith > > this.TEXT3 = new TEXT(this) > with (this.TEXT3) > height = 3.0 > left = 25.0 > top = 1.5 > width = 10.0 > alignVertical = 1 // Middle > alignHorizontal = 2 // Right > rotate = 1 // 90 degrees > text = "Text3" > borderStyle = 4 // Single > endwith > > > endclass > > > > -- > Michael Nuwer > http://www.ChelseaData.ca/dLearn/ > http://www.nuwermj.potsdam.edu/dSamples/
|
|