Segments
- From: "Ivar" <ivar.ekstromer000@xxxxxxxxxxxx>
- Date: Thu, 30 Mar 2006 10:33:13 GMT
Hi all.
Within as form I have a sub that draws segments that go to make a pie chart,
The sub has these args:
R As RECT
StartPercent As Single
EndPercent As Single
TheColour As Long
TheHDC As Long
So- if I had the code:
DrawSegment R, 25, 58, vbRed, Me.Hdc - then a red one third segment would be
drawn on the form.
All works well.
Question 1:
How can I find out the X & Y (in pixels) of the two points of the segment on
the diameter of the circle.
Question 2:
I would like to have a tooltip that says what the sement is representing
when the mouse is over the segment. But how would I know when the mouse
cursor is over the segment.
Any ideas would be appreciated.
Thanks
Ivar
.
- Follow-Ups:
- Re: Segments
- From: Rick Rothstein
- Re: Segments
- From: Randy Day
- Re: Segments
- Prev by Date: Re: How to compare data from two notepads??
- Next by Date: printer.font.size
- Previous by thread: Send Info to Forms on Web pages ???
- Next by thread: Re: Segments
- Index(es):
Relevant Pages
|