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:

08.04.2018
IDBE RibbonCreator 2016 (x86 and x64) for Office 2013 and Office 2016 - new release. ...


04.08.2017
Add new Link. ...

04.01.2016
Add new Link. ...

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

 

Last update:
April 09, 2018, 09:50