add a text box in commondbar

P

prashantmalik

Hi All,
i have created an com addin for microsoft word.
using this addin i am able to add a textbox in the commond bar in th
ms word
now my problem is that i dont know the events of textbox.
for example the events of buttons are
MyButton_Click(ByVal Ctrl As Microsoft.Office.Core.CommandBarButton
ByRef CancelDefault As Boolean) Handles MyButton.click

i want same function for textbox so that when i click/write on textbo

a messege box should appear on the screen

thanks in advanc
 
C

Cindy M.

Hi Prashantmalik,
i have created an com addin for microsoft word.
using this addin i am able to add a textbox in the commond bar in the
ms word
now my problem is that i dont know the events of textbox.
for example the events of buttons are
MyButton_Click(ByVal Ctrl As Microsoft.Office.Core.CommandBarButton,
ByRef CancelDefault As Boolean) Handles MyButton.click

i want same function for textbox so that when i click/write on textbox
I think this type of control has a CHANGE (rather than a Click) event.

This group is targeted primarily at end-users. If you need more
assistance, you should ask in a group that supports
programming questions. You'll find more people there who will be able
to help you. Office.developer.automation would be one
possibility. Or the word.programming group. If you're working with a VB
language you could also try in a word.vba newsgroup.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :)
 

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