Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

Force the mousepointer to upper part of a visual basic form

We have a project what links multiple forms together.  We move from one form to the other by using the (FormName.Show).  There are some instances where we want to make sure that the mouse pointer is in the upper part of the form that is being shown.  Probably in the upper 1/4th of the form.

Will appreciate any help!

Thanks
Jack
0
JackVannoy
Asked:
JackVannoy
1 Solution
 
ComputronCommented:
You could use the onFocus event of the form and call this code

http://www.freevbcode.com/ShowCode.asp?ID=165
0
 
JackVannoyAuthor Commented:
Thank you very much Computron for your prompt response.  Appreciate it very much.

Jack
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now