Forms :: Pop Menu On Mouse Right Click

Mar 7, 2013

i need the way for making a popup menu on the right clic of the mouse inside a form...so when i pree right mouse button i will have my list with my commands.

View Replies


ADVERTISEMENT

Disable All Menu Bars Except The Right Click Mouse

May 1, 2006

Hi,

For i = 1 To CommandBars.count
If (CommandBars(i).name <> "Right Click Mouse") Then
CommandBars(i).Enabled = False
End If
Next i

I tried to use this code.
However, right click mouse is disable.

How can I disable all menus except the right click mouse option?

Thanks.

View 1 Replies View Related

Forms :: Left Mouse Click On Control

Jul 3, 2015

How can I move to control on form when user clicks on another control on same form? In other words... have set validation on controls and unless I disable all the other controls on form until I need it enabled, user can click on other control and get out of the validation sequence. Need to send user back to control they were on when they click on a different control elsewhere...

View 3 Replies View Related

Forms :: Open Search Form With Mouse Click On Button

Jul 17, 2013

How to open a search form with a mouse click on Button_Search

My idea is to pop up a form where user can enter the search text and select the required name and get back to the old form with all details about the entry. This form alone is workign fine. I want to call it in a mouse click. and pass the data back to old form.

View 7 Replies View Related

Forms :: Mouse Click Can't Work On OK Button For Combo Box Selection

Aug 25, 2014

I get a bizarre situation while I am using MS Access 2010 to select values with Combo Boxes on a form, i.e.:

* After I select one or more values from the drop-down list of a Combo Box, there is no response when clicking OK button using the mouse. It is stalled. I need to do the process again and then the mouse-click on OK button could work: click anywhere outside of the combo box, re-select the values, click OK Button, and done.

* However, I can always use Enter key (on the keyboard) upon OK button to complete the selection.

* The values in the drop-down list of the Combo Box were entered manually.

What is wrong with the combo boxes on the form? Why do I need to do twice to complete the selection using mouse-click? Why the keyboard-click ('Enter') can be always OK but not for the mouse-click?

View 8 Replies View Related

Forms :: Customize Right Click Menu

May 1, 2015

I have the following script which customizes the right click menu.

The problem that I am having is that I call the script to add the right click from the form open event and then multiple users can not access the same database.

I use one for forms and then another for reports.

If I manually close the open forms then reopen them then multiple users can use the same database.

If I close and reopen forms with vba the right click still remains making the database not accessible to multiple users.

It is definitely this as when I comment it out from the open event of the forms then everything is OK.

I call the following from the open event of the form as follows

Code:
Public Sub Form_Open(Cancel As Integer)
FormsShortcutMenu
End Sub

The following is stored in a module

Code:
Public Sub FormsShortcutMenu()
Dim cmbRightClick As Office.CommandBar
Dim cmbControl As Office.CommandBarControl
On Error Resume Next
CommandBars("cmdRightClick").Delete

[Code] .....

View 4 Replies View Related

Forms :: Right Click Menu In Popup Form On Access 2010?

Dec 11, 2013

I'm trying to do right click menu on listbox.

currently i'm trying to implement a right click menu which will show a simple messege box.

My problem is that the list box is on a pop up form which opened up maximized. Now when i'm right clicking on the list box i see the right click menu but when i'm clicking on one of the menu options, nothing happenning (it seems that it don't go to the function as it should). i've also putted breakpoints on the function but it never tips.

It's important to mention that if i'm setting the form popup option to no the right click menu works perfectly (when i'm clicking on one of the options i see its matching messege box).

I'm running the following vba code:

This is the mouse up event handler for my list box:

Private Sub Song_List_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
' Call the SetUpContextMenu function to ensure it is setup with most current context
' Note: This really only needs to be setup once for this example since nothing is

[Code] .....

setting up the "SetUpContextMenu" sub:

Public Sub SetUpContextMenu()
' Note: This requires a reference to Microsoft Office Object Library
Dim combo As CommandBarControl
' Since it may have been defined in the past, it should be deleted,
' or if it has not been defined in the past, the error should be ignored

[code].....

View 3 Replies View Related

Mouse Over Print Menu Bar Button

Sep 27, 2005

I have been running in this problem and i didnt know the cause but ive just realized now.
A mouse over the print button on the Menu Bar hangs my A2K for some Minutes. Other buttons on the menu bar dont.
A network printer is the default on my PC, but this is of as for now,it needs servicing. I dont know whether it automatically detects the printer settings on mouse over it :confused:

View 1 Replies View Related

Right Mouse Click

Apr 5, 2005

I would like to add to my form the ability to right mouse click to print a report, is it possible to achive this and if how can I.

Regards - Paul

View 3 Replies View Related

Automate Mouse Click

Aug 10, 2006

I want to be able to automaticallly send a mouse click in response to a message using a Macro or VBA code. Is this possible, Any suggestions appreciated

thanks

View 2 Replies View Related

Force Left Mouse Click

Jul 11, 2005

Hi,
Is there a way to force a left mouse click in VBA?

View 3 Replies View Related

Deactivate Mouse Second Button Click On F

Mar 16, 2006

How can i deactivate mouse second button click on form?

Can anyone help me please?:)

View 1 Replies View Related

Modules & VBA :: Event Handler For Mouse Right Click And Select?

Aug 11, 2014

I want to handle the event when I right click and choose "Paste" to pop up a message to the user that he cannot paste; disabling the pasting functionality.

I understand that the Button parameter refers to right or left button , but on which event to best use (mouse up ,mouse down , mouse move - as it seems to be a mixture of the three) and the code for that event.

Code:
Private Sub List_MouseUp(Button As Integer, Shift As Integer, X As Single, Y As Single)
' See if the right mouse button was clicked
If Button = acRightButton Then
'DoCmd.CancelEvent
'do event here
End If
End Sub

I don't want to cancel after there is a right click , but rather after right clicking and choosing "Paste".

View 9 Replies View Related

Modules & VBA :: Sending Mouse Click Event To List Box Programmatically

Aug 31, 2013

I have a form (about patients) containing a listbox (list of visit dates) and a subform (showing medications at that date). When you click on the listbox, the subform is re-queried with the selected date as a parameter to show the medications that were in use on that date. This is working fine.

However, when you move to a new record (patient), the subform is initially blank because the listbox hasn't been clicked on yet. This means that it looks like the person isn't on any medications, which is causing some confusion.

I need a way to have the subform show the "top" (most recent) date because that is the current medication list, and the thing most people want to see first. It is always the top of the list, so I would like to do something like this (pseudocode)

Code:
Private Sub Form_Current()
Forms![MedSearch].SelectDateBox.Requery
Send MouseClick Event to line 0 of SelectDateBox
End Sub

View 2 Replies View Related

List Box (need Right-click Menu)

Aug 11, 2005

Hi All

A quick question.

Is it possible/Easy to wipe out the standard menu for right clicking a listbox
and replacing it with a custom menu.

I would like to make some custom functions for adding and deleting records using list box contol instead of having a huge amount of buttons all across the screen

Thanks Homer

View 1 Replies View Related

Allow Right-click Menu To Users

Aug 3, 2005

I have locked my db down so that no one can use the right-click options will in it. I did this to lock them out of the filters and properties options. Does anyone know how I can allow them to use the right-click with the mouse to only do cut, copy, paste, and hyperlink? Thanks

View 2 Replies View Related

Copy And Paste In Right Click Menu

Dec 27, 2013

I am making a custom right click menu for our company database using this tutorial:

[URL] ....

The thing I can't find when making this macro is copy or paste. I want to add these to it but I can't find it using run command or anything. How to get these 2 in the menu?

View 1 Replies View Related

Modules & VBA :: Remove Items From Right Click Menu

Aug 18, 2014

How do I remove items from a right click menu in access 2003? For example I need to remove the form view / design view button from a right click menu but i want to keep the hide/show columns button on the same menu.

View 1 Replies View Related

Modules & VBA :: Click Button To Expand Whole Menu

Sep 17, 2014

the login is working perfectly, once It logs in there is a button to expand all that is based in JS. I can't seem to work out how to get it to click the button to expand the whole menu, latest code is below:

Code:

Option Explicit
Function Checkpage()
Dim IE As Object
Dim lform As Object
Dim Document As Object
Dim item As Object

[code]...

View 3 Replies View Related

Modules & VBA :: Right Click Menu Command Bar Index Number?

Aug 13, 2014

I have a form that i used the following code on to stop people accessing anything naughty:

Code:
Dim i As Integer
For i = 1 To CommandBars.Count
CommandBars(i).Enabled = False
Next i

This works great and gets rid of all the menu bars.

The problem is that it also stops the user getting the right click menu up in a datasheet view.

I assume i just need to enable the correct menu bar index number but i don't know what it is so my code would be:

Code:
CommandBars(X).Enabled = True

So do I need to bring back more than one command bar to get it working?

View 4 Replies View Related

Reports :: How To Customize Right Click Shortcut Menu In Access 2010

Mar 29, 2015

how to customize my right click "Short-cut" menu in Access 2010. I need a right click menu with ONLY the "Print" and "Print Preview" options for my reports and I would like to disable right click in all other objects.

View 3 Replies View Related

Forms :: How To Scroll Down Mouse With Record

Mar 15, 2014

i have a continuous form used for selling item , i want when the user selling item the scroll mouse working with the current record look the attachment to see how to fix the problem .

View 2 Replies View Related

Forms :: Mouse Scroll And Tab Controls

May 8, 2014

I have a form with four pages and subforms on each page. I am having issues with scrolling on pages 2-4. The first page will scroll correctly (to the bottom of the form), but the other pages will not scroll at all. I did enable the scroll bars on the subforms, but they will only scroll to the bottom of the viewable form, not the whole form, which I would prefer. Is there a way to scroll through the whole form on pages 2-4? I tried setting the focus to the form itself, but my code didn't work:

Private Sub Form_MouseWheel(ByVal Page As Boolean, ByVal Count As Long)
Me.Parent.FRM_TABLE_TAB_1.SetFocus
End Sub

I would change the form; however, it is designed to look exactly like the actual questionnaire.

View 1 Replies View Related

How To Disable Mouse Scroll Buttons On Forms?

Oct 10, 2006

Hi!
I want to disable the usage of mouse scroll on my forms. Because, as things are now, you may accidently choose/ scroll to another Record/ Post, when editing data for one specific record.

How do I accomplish disabling usage of mouse scroll?

View 3 Replies View Related

Forms :: Cut / Copy / Paste - Activating Mouse Functions In A Field?

Aug 8, 2013

How do I activate functions mouse functions in a field? I want to click the right key of the mouse when I'm in a field within a form so I can cut, copy, and paste.

View 2 Replies View Related

Forms :: How To Scroll Through Records In Access 2010 With Mouse Wheel

Mar 6, 2015

I want to scroll through records in Access 2010 forms with the mouse scroll wheel.

View 10 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved