?
Solved

Move a textbox from VBA

Posted on 2002-04-02
3
Medium Priority
?
477 Views
Last Modified: 2011-09-20
Hi...
im trying to have a text box that is hidden move to the position of my mouse when my mouse is rightclieckd on my flexgrid..

IN VB i used just go the mousedown event and
if button = vbrightbutton then
lstList.move X, Y
but in msaccess there is no move

how do you do this in msaccess
thanx
0
Comment
Question by:Joester20
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 6

Accepted Solution

by:
Mach1pro earned 400 total points
ID: 6914776
In the MouseDown event of the Form and especially the detail section of the form, add the following code

If Button = 2 Then
    Text0.Top = Y    ' replace Text0 with the name of your textbox
    Text0.Left = X
End If
0
 
LVL 54

Expert Comment

by:nico5038
ID: 7082504
for Joester20

No comment has been added for the last two months.
So it's time to clean up this TA.
I will leave a recommendation in Community Support that this question is:
 - Answered by: Mach1pro  
Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 7099878
Thanks for your help, Nic;o) .
Finalized by Moondancer - EE Moderator

0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question