J
John
Hi there,
I'm currently trying to change the default behaviour for a shape's double
click event.
What I want to do is move the cursor to a field in the 'docked' custom
properties window and select that field (so that the user can type directly
into that field directly), when a shape is double clicked. (Note I do NOT
want to display the custom properties MDI form (DoCmd(1312))).
So far (see below) I've got a reference to the correct window, but I can't
see how to select the right field (Prop.Name).
Can anyone shed any light on this for me?
Best regards
John
Sub SelectCustPropsWindow()
Dim wdwA As Window
Dim wdwB As Window
For Each wdwA In Application.Windows
If wdwA.Type = visDrawing Then
For Each wdwB In wdwA.Windows
If wdwB.ID = visWinIDCustProp Then
' ??????
End If
Next wdwB
End If
Next wdwA
End Sub
I'm currently trying to change the default behaviour for a shape's double
click event.
What I want to do is move the cursor to a field in the 'docked' custom
properties window and select that field (so that the user can type directly
into that field directly), when a shape is double clicked. (Note I do NOT
want to display the custom properties MDI form (DoCmd(1312))).
So far (see below) I've got a reference to the correct window, but I can't
see how to select the right field (Prop.Name).
Can anyone shed any light on this for me?
Best regards
John
Sub SelectCustPropsWindow()
Dim wdwA As Window
Dim wdwB As Window
For Each wdwA In Application.Windows
If wdwA.Type = visDrawing Then
For Each wdwB In wdwA.Windows
If wdwB.ID = visWinIDCustProp Then
' ??????
End If
Next wdwB
End If
Next wdwA
End Sub