Solved

Move a textbox from VBA

Posted on 2002-04-02
3
461 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
3 Comments
 
LVL 6

Accepted Solution

by:
Mach1pro earned 100 total points
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks for your help, Nic;o) .
Finalized by Moondancer - EE Moderator

0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now