I'm Sorry, I had no idea!!
Sorry folks!!
I had no idea all my attempts ended up on the board, Ianpbaker is right, I had the devils only job trying to get it to accept the post, and when it did I thought all the other attempts were just lost.
Please accept my apologies, I'll keep an eye out if it happens again.
How do you delete posts!! (I'm a bit new at this)
Ray
Re: Simple Graphics problem
Quote:
Originally posted by Ray.T
Can anyone help me here as I am starting to go a bit loopy!!
Many thanks
Ray
You sure butchered the forum there pal! :D
Oh well, not your fault!
Anyway, have you got the scale mode of the form you're working on set to some custom scale, or is it set to pixels or twips? I always work in pixels as twips tend to do strange things to my applications.
See if that helps...
1 Attachment(s)
screen shot to clarify things a bit
Here is a screen shot of the trial form to clarify things abit.
The darker shapes dimensions are taken from the left hand set of text boxes and the cyan coloured from the right. As I vary the bottom right hand text box dimensions , Line2 does not always align like Line1 at the top (which incidentley aligns perfectley every time)
Is it because the top is a control attribute, where as the bottom is always a reference?
The two rectangles the line references to are the two cyan coloured ones (outer rectangles)
Can any one help?!
Ray
P.S the file has been scanned for viruses using Norton Antivirus 2001 with definitions dated 10/05/2002
Can anybody else help me!
Thanks Arbiter
It does seem strange doesn't it, I thought maybe when you tried it the problem would not happen, and it would all be down to my graphics card or something. Surely though if you set the forms ScaleMode to pixels (I'm not sure if I'm qualified in VB enough to use the word 'surely') then this would be the same as recoding in pixels. To be honest I dont really know any other way of getting the diagram drawn, other than the Circle Method, and Shape controls. I know you can use RounRectangle API calls but then I wouldn't know how to fill in the rectangles with different shades.
I will keep badgering at it, and thanks very much for the time and patience you have given me Arbiter, it is well appreciated.
All the best
Ray