Setting focus to a textbox on a slide

  • Thread starter Thread starter John Crawford
  • Start date Start date
J

John Crawford

I am writing a math question presentation. When the user clicks on the
Get Question button a new question will appear, and a textbox is
displayed. The user enters the answer in the textbox.
How do I give focus to the textbox? I cannot find a method or property
that I can set. Each time the user has to click in the textbox.
Any suggestions would be appreciated.
Thanks
John Crawford
 
Chirag:
Thanks. I will look into the code. As it sits I do not return the
correct shape handle (I return 0).
John
 
Look at ActivateShape() macro.... at [link deleted as I cannot post since my count is 0] - it
shows how to set focus on a VBA control. It can help you get started with
setting focus to VBA textbox.

- Chirag

Hi Chirag

I am having the same problem of not being able to move around the different ActiveX textboxes created on a slide viewed in slideshow.

I am using Windows 7, office 2007

I tried your link and downloaded the ActivateActiveXShape.zip example file. Tried playing it but no luck. Neither tab, enter, arrow or pgup/pgdn keys have any effect.
What am I doing wrong? Do I need any references?

cfcaec
 
Back
Top