on 2006 Feb 28 8:17 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
105 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.