I already have the tables/ queries that hold the X and Y Co-ordinates of the
top left of the labels and it's angle.
Currently I am Excel to create a scatter chart with labels, but I would like
to use an all access solution
Any ideas please
Phil
It is possible to use the form's Open event to set the Height, Width, Left,
and Vertical properties of the text boxes you want, and the Visible property
to No for the text boxes you don't need.
Specify Height, Width, and Left in twips, where 1440 twips = 1 inch.
There is a problem with vertical text not showing in some fonts. Arial CYR
is one of the few that always works.
To be honest, I find myself doing this in report, but rarely in forms.
Perhaps your form is for display purposes only, or bound to a temporary
table. A normalized table would not have 100 fields.
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Phil Stanton" <ph...@myfamilyname.co.uk> wrote in message
news:6c-dnXJEDsZHRk3U...@posted.plusnet...
So this gave me the idea of replacing the reasonably messy method that I am
currently using with Excel to show the location of Member's boats in our
boat compound. The query that Excel gets it's information from has a
combined field of (Space No, Boat Name & Owner) = ControlSource, X
co-ordinate = Control.Left, Y Co-ordinate =Control.Bottom (I have to do a
calculation for that one) and Angle.... That's the problem
These all will be in the detail section of a single form.
You're right that the form is for display only.
Because our boat compound is roughly laid out on a grid pattern, horizontal
textboxes or labels will definitely overlap each other, and vertical label
probably will overlap. 45 degrees seems to work reasonably well, but
sometimes even that has to be fiddled to a different angle to stop 2 labels
overlapping.
So as I mentioned, Stephen Lebans solutions for rotating text are not on as
they have an opaque oblong box big enough to hold the rotated label
Thanks
Phil
"Allen Browne" <Allen...@SeeSig.Invalid> wrote in message
news:49d15fb9$0$29866$5a62...@per-qv1-newsreader-01.iinet.net.au...
This sounds like the kind of thing you might try in Visio. I have seen some
creative Visio designs where the data is stored in JET tables, and the
objects laid out on screen as desired.
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Phil Stanton" <ph...@myfamilyname.co.uk> wrote in message
news:UYCdnfnAMoqfREzU...@posted.plusnet...
Might as well stick where I am with the Excel solution.
BTW, I had found something on the net that purported to rotate text. It used
Private Sub Text4_Click()
SetGraphicsMode Me.hDC, GM_ADVANCED
tLF.lfEscapement = 300 ' This is the angle to display at x 10
tLF.lfOrientation = 1200 ' Set the angle to display the characters at x
10
hFnt = CreateFontIndirect(tLF)
' Select the font into the Form's Device context, storing the font that
was already there
hFntOld = SelectObject(Me.hDC, hFnt)
End Sub
Unfortunately the Me.hDC would not compile. Any Idea what .hDC is. I can
only presume it is something in Access after my AK2 version
Phil
"Allen Browne" <Allen...@SeeSig.Invalid> wrote in message
news:49d204f4$0$29889$5a62...@per-qv1-newsreader-01.iinet.net.au...
--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
"Phil Stanton" <ph...@myfamilyname.co.uk> wrote in message
news:-IOdnfmO58cI3E_U...@posted.plusnet...
Phil
"Allen Browne" <Allen...@SeeSig.Invalid> wrote in message
news:49d377d1$0$29882$5a62...@per-qv1-newsreader-01.iinet.net.au...