Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello. I am using Visual Basic in Visual Studios. I am trying to use the Cancel Button property on my form to stop the application

Hello. I am using Visual Basic in Visual Studios.

I am trying to use the Cancel Button property on my form to stop the application from drawing my line, however when I click escape it does not seem to click the button to stop my drawing. It makes the error noise but there is no error. I have KeyPreview set to True. I also have the Cancel Button set to the button that has the code to stop the drawing. The button that does this is invisible (i.e. visible is set to False). How can I fix my Cancel Button? Or should I go about it another way?

Thank you for your time

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions

Question

consider how qualitative data can add value to your research;

Answered: 1 week ago