cancel
Showing results for 
Search instead for 
Did you mean: 

setStatusBarMessage in green?

0 Kudos

Hi, i want to display a message in the StatusBar.

setStatusBarMessage does this, but errors are displayed in red, and other messages in blue.

I want to print a green one like the "AddOn connected" message!

Is there any way to do this?

Regards, Frank.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hey frank the status bar object has a settext method that allows you to choose the type of message

smt_Success will set the color to green

Answers (1)

Answers (1)

Former Member

Actually, the setStatusBarMessage is deprecated,

so it's recomended to use, as Curtis said, SetText.

This should do it:

oSBOApplication.StatusBar.SetText "Message.", bmt_Medium, smt_Success