You are here:   Bug

Bug

Context Menu Not Visible In Sub Form

Context menus that are assigned to specific controls will only work, if the form has been opened directly.

The context menus will not work if the form is embedded as sub form within another form. The standard Access context menu will be shown instead.

Solution:

12/12/2007: Try the SP1 of Office 2007

 

Switch off context menus within the form:
Properties / Tab Others / Context menu: No.

In the relevant control, event procedure "On Mouse Down" (or "On Mouse Up"):

Private Sub YourControl_MouseDown(Button As Integer, _
                                  Shift As Integer, _
                                  X As Single, _
                                  Y As Single)
     If Button = 2 Then
         CommandBars("YourContextMenu").ShowPopup
     End If
End Sub




Back
 

Last Updates:

04.01.2016
Add new Link. ...


22.09.2015
New - IDBE RibbonCreator 2016 32 Bit and 64 Bit (Version 1.1001) ...

26.06.2015
Update Downloads for "Trusted Locations" - Versions ...

15.10.2014
Add new Link. ...

 

Last update:
January 22, 2017, 17:44