Keystroke callbacks in shape text edit

K

Ken Whittington

Does anyone know how to receive key events when the user is editing the text
label of a shape?

I have implemented an eventSink and eventProc as well as delegates, and all
appear to be working correctly. However, I do not receive key events when the
shape text editor is running...??...

Thanks,
 
J

JuneTheSecond

Key events and mouse events seems to run just on active window, so my idea is
to use TheText cell, RUNMACRO("test") on the cell, and macro,
Sub test()
If ActiveWindow.IsEditingText Then
MsgBox "Editing text " & KeyCode
Else
MsgBox "not Editing"
End If
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top