J
Joe Cletcher
I'm just trying to add a right-click option for a shape
that passes the "ShapeKey" property of the shape that
was "right-clicked" to and then executes a macro I have
written. It's not working. Anyone see what I'm doing
wrong?
The macro and the "Action" lines are shown below. Only
the 1st action line (DOCMD(1312)) works. The macro just
shows a form with the faked "ShapeKey" and a single
command button.
Public Sub ShowCustomData()
Dim aForm As New frmMsnAsrncIssues
Dim ShapeKey As Long
ShapeKey = 35
aForm.rtbShapeID.Text = "Shape ID: " & CStr(ShapeKey)
aForm.Show
End Sub
Private Sub cmdOK_Click()
End
End Sub
Action 1:
Action: DOCMD(1312)
Menu: "Properties..."
Checked: 0
Disabled: 0
Action 2:
Action: RUNADDON("ShowCustomData")
Menu: "Show Mission Assurance Issues"
Checked: 0
Disabled: 0
that passes the "ShapeKey" property of the shape that
was "right-clicked" to and then executes a macro I have
written. It's not working. Anyone see what I'm doing
wrong?
The macro and the "Action" lines are shown below. Only
the 1st action line (DOCMD(1312)) works. The macro just
shows a form with the faked "ShapeKey" and a single
command button.
Public Sub ShowCustomData()
Dim aForm As New frmMsnAsrncIssues
Dim ShapeKey As Long
ShapeKey = 35
aForm.rtbShapeID.Text = "Shape ID: " & CStr(ShapeKey)
aForm.Show
End Sub
Private Sub cmdOK_Click()
End
End Sub
Action 1:
Action: DOCMD(1312)
Menu: "Properties..."
Checked: 0
Disabled: 0
Action 2:
Action: RUNADDON("ShowCustomData")
Menu: "Show Mission Assurance Issues"
Checked: 0
Disabled: 0