Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Touchscreen Visual Basic application query!

Status
Not open for further replies.

Agent009

Programmer
Apr 4, 2003
96
IE
Hi all,

I didnt know which forum to post this question, but here goes.

I have written an application which will be open to the public.

However, if i want to close this aplication running on the toucscreen computer that is being used by the public, how do i do this?

I heard that there is a sequence of corner touches that you can set, and when pressed the application will close and the user will have access to the rest of the computer.

Thanks in advance,

Agent009,
 
Hey,

Form what i gather a touch screen is just like a mouse. when the user touches the screen. The screen is just sending a click event to you application. So there is really nothing special about a touch screen ... just treat it like a mouse.

In other words the user should be able to click (or touch) the control box X or you can make a button they can click (or touch) to close the app. I forget whether you can double click a touch screen.

good luck,
KCI
 
Hi KCI,

I know how a touchscreen works, i just wondered if anyone knew if you could program the application to account for a series of different touches to close the screen.

E.g : Bottom right corner - touch twice and then touch the top left corner twice, this closes the application and allows you access to the rest of the computer.

I think i will probably have to use a button or something,but if you hear anything let me know.

Thanks KCI,

Agent009,


 
just make an empty label where ever you want to touch to make the app close, then use the Click/tap or DblClick (double click/tap) to set a Boolean variable to true. Then when the second label you create is clicked AND the variable is TRUE, close the app. This is similiar to routines I use to hide "easter eggs" or backdoors in my apps. It creates a series of user actions that have to happen to trigger your event. be creative.

RUN FunnySignatureMessage
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top