Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change Button Caption

Status
Not open for further replies.

Kalechibki

Programmer
Aug 16, 2002
18
US
I'm trying to have, as part of a macro, a message box that has buttons labeled "Up", "Down" and "Cancel." I'd rather not have it be something where the user types in the command, but with in VB 6.0, I can't find a way to do so within a macro (since it doesn't really make sense outside of the context of the macro).

Anyone know of a way how to do to so?

Brian Cavanaugh
 
you can do an object.caption="up"
object is the name of your button.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top