status bar with custom tool bar buttons 
Author Message
 status bar with custom tool bar buttons

Hi you all!

In EXCEL7 there is a .StatusBar-property for custom tool
bar buttons. I use this to assign text to be displayed in
the status bar when the mouse cursor moves across my own buttons.

I didn't manage this in EXCEL5, because the .StatusBar-property
isn't known there (unlike the .ToolTips-property).

Does somebody know a workaround? I don't want the default
text (like "button to assign a user defined macro to" in my (German)
version).

Any hints appreciated.

Frank



Wed, 18 Jun 1902 08:00:00 GMT  
 status bar with custom tool bar buttons

Hi, Frank!



Quote:
> Hi you all!

> In EXCEL7 there is a .StatusBar-property for custom tool
> bar buttons. I use this to assign text to be displayed in
> the status bar when the mouse cursor moves across my own buttons.

> I didn't manage this in EXCEL5, because the .StatusBar-property
> isn't known there (unlike the .ToolTips-property).

> Does somebody know a workaround? I don't want the default
> text (like "button to assign a user defined macro to" in my (German)
> version).

well, no, but this is done through the macro, itself. There are two ways:
manual and macro.
Manual:
1. Choose Tools, Macro and click ONCE on the macro.
2. Click on the Options button. Locate the Status Bar text field.
3. Enter your description. click OK to close and cancel out of the Run
menu.
When you assign the macro to a toolbar button, the statustext will display.

The macro version would look like this:
    Application.MacroOptions Macro:="MyMacro", Description:= _
        "Macro recorded 1/28/97 by George Atkins", HasMenu:=False, _
        MenuText:="", HasShortcutKey:=False, Category:=14, StatusBar _
        :="This shows up in the statusbar.", HelpContextID:="0", _
        HelpFile:=""

Where macro:= is the name of the macro and StatusBar:= is the text to
display.

--
George K. Atkins
Iota Development Corporation

- he's been sick, but he's improving, folks!



Wed, 18 Jun 1902 08:00:00 GMT  
 status bar with custom tool bar buttons

Quote:

> Hi, Frank!



> > Hi you all!

> > In EXCEL7 there is a .StatusBar-property for custom tool
> > bar buttons. I use this to assign text to be displayed in
> > the status bar when the mouse cursor moves across my own buttons.

> > I didn't manage this in EXCEL5, because the .StatusBar-property
> > isn't known there (unlike the .ToolTips-property).

> > Does somebody know a workaround? I don't want the default
> > text (like "button to assign a user defined macro to" in my (German)
> > version).

> well, no, but this is done through the macro, itself. There are two ways:
> manual and macro.
> Manual:
> 1. Choose Tools, Macro and click ONCE on the macro.
> 2. Click on the Options button. Locate the Status Bar text field.
> 3. Enter your description. click OK to close and cancel out of the Run
> menu.
> When you assign the macro to a toolbar button, the statustext will display.

> The macro version would look like this:
>     Application.MacroOptions Macro:="MyMacro", Description:= _
>         "Macro recorded 1/28/97 by George Atkins", HasMenu:=False, _
>         MenuText:="", HasShortcutKey:=False, Category:=14, StatusBar _
>         :="This shows up in the statusbar.", HelpContextID:="0", _
>         HelpFile:=""

> Where macro:= is the name of the macro and StatusBar:= is the text to
> display.

> --
> George K. Atkins
> Iota Development Corporation

> - he's been sick, but he's improving, folks!

Changing the text in the "status bar" area does not appear to effect the
tooltip text.

-Larry Casey



Wed, 18 Jun 1902 08:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. status bar with custom tool bar buttons

2. Custom form menu bar - custom form tool bar - setting startup properties for DB

3. Blinking Word Title Bar and Status Bar Button

4. Changing status bar text and captions for custom buttons with VBA in Excel 5.0

5. Square around a button of a custom tool bar

6. Custom tool bar button missing on closing and opening of outlook

7. Custom tool bar buttons

8. Create custom Tool bar buttons

9. Programatically hiding custom tool bar button

10. Custom menu bars: form bar does not replace db bar


 
Powered by phpBB® Forum Software © phpBB Group