ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Creating Toolbar on Word 2000 using built-in Visual Basic Editor (https://www.excelbanter.com/excel-programming/309569-creating-toolbar-word-2000-using-built-visual-basic-editor.html)

Sagar Gadre

Creating Toolbar on Word 2000 using built-in Visual Basic Editor
 
Hi All,

I have some queries.

I am creating Toolbar on Word 2000 using built-in Visual
Basic Editor.

The CommandBar is created dynamically I dont know how to
take the values entered in its various controls at runtime.
When I enter something into ComboBox and I shift to
another control
the value entered in the comboBox is lost. How to prevent
this.

I seem to have found out the following bug:

Below are the steps to reproduce the problem:

I have reproduced this problem on Formatting Toolbar on
Microsoft Office 2000.

1) Our office Toolbar application uses combo-box for
facilating the user to enter a search criteria.
Please select any combo-box on Formatting Toolbar.
Enter a search criteria in the combo-box and click on
any
control on the same toolbar or on the client area.
The value that was entered vanishes.

2) But if you enter some value again and then you press
the TAB key and navigate to other control the entered
value
remains and does not vanish.

3) Now if I again try to enter another value in the search
criteria combo-box and then click on any other control on
the
same toolbar or on the client area the value that I
had previously entered appears and the current value
vanishes.

4) Thus retention of value occurs only if TAB key is
pressed after entering the search criteria but if I click
on any other
control on the same toolbar or on the client area the
value vanishes.

Thus maintaining of history is not possible as I am not
able to take input from the combo-box.

How to insert icons on Toolbar



Bernie Deitrick

Creating Toolbar on Word 2000 using built-in Visual Basic Editor
 
Sagar,

You really should post this in the Word groups....

HTH,
Bernie
MS Excel MVP

"Sagar Gadre" wrote in message
...
Hi All,

I have some queries.

I am creating Toolbar on Word 2000 using built-in Visual
Basic Editor.

The CommandBar is created dynamically I dont know how to
take the values entered in its various controls at runtime.
When I enter something into ComboBox and I shift to
another control
the value entered in the comboBox is lost. How to prevent
this.

I seem to have found out the following bug:

Below are the steps to reproduce the problem:

I have reproduced this problem on Formatting Toolbar on
Microsoft Office 2000.

1) Our office Toolbar application uses combo-box for
facilating the user to enter a search criteria.
Please select any combo-box on Formatting Toolbar.
Enter a search criteria in the combo-box and click on
any
control on the same toolbar or on the client area.
The value that was entered vanishes.

2) But if you enter some value again and then you press
the TAB key and navigate to other control the entered
value
remains and does not vanish.

3) Now if I again try to enter another value in the search
criteria combo-box and then click on any other control on
the
same toolbar or on the client area the value that I
had previously entered appears and the current value
vanishes.

4) Thus retention of value occurs only if TAB key is
pressed after entering the search criteria but if I click
on any other
control on the same toolbar or on the client area the
value vanishes.

Thus maintaining of history is not possible as I am not
able to take input from the combo-box.

How to insert icons on Toolbar






All times are GMT +1. The time now is 01:46 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com