How to draw in UserForm

Hi. Please, I need help with the VBA. How to draw in UserForm? For example, I press a key and a rectangle (or line or circle) appears on the UserForm)

Sorry for my English

Parents
No Data
Reply
  • Can you explain, please, why do you have such a need?

    Practically I do not think it is possible (easily) to draw something directly on the form, but you can trick that drawing on the page, saving the drawing somewhere in your computer, creating a control on the fly (let's say a label) and connect the label.Picture property to the recent saved picture... All that programmatically done.

    I think I can show you something in order to understand the trick. Of course if it fills your needs... 

Children