Avatar of Derek Brown
Derek Brown
Flag for United Kingdom of Great Britain and Northern Ireland asked on

Drawing a circle on a form

How do I draw a circle on a form using code?

I Tried this:
Me.Circle (200, 200), 100, 0
But just get error method not found
Microsoft Access

Avatar of undefined
Last Comment
Gustav Brock

8/22/2022 - Mon
Kimputer

Easiest way to control this, is probably insert a picture instead (as the form doesn't have anything similar, other solutions draws on Windows, not the form perse)
Dale Fye

You might want to take a look at this LinkedIn post
ASKER CERTIFIED SOLUTION
Gustav Brock

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Derek Brown

ASKER
Thanks Gustav. Well spotted I asked this question 4 years ago and solved most of it myself. Ended up not using it and forgot all about it.

Kimputer, what do you mean draw on windows?

Dale Link to Linked In does not work for me.
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Kimputer

There are some Windows API solution, but they're quite ugly, and draw on Windows itself, not on the form. If you move the form, the circle stays there. Here's on example: https://social.msdn.microsoft.com/Forums/en-US/8c39712f-fb49-4ef6-9fd2-245b79bb6c67/using-gdi-in-excel-vba?forum=isvvba
Derek Brown

ASKER
Thanks to you both
Derek Brown

ASKER
I do hope points have been allocated this time please confirm and let me know how points were distributed. I have no idea why EE has changed what was a simple easy system for this new one, which is weird.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Gustav Brock

You are welcome!