08-30-2005 10:21 AM
08-30-2005 03:39 PM
See help pages below. Hope this helps!
Steve
Button.Caption
Specifies the text displayed in the control.
In the caption, include an ampersand (&) immediately preceding the character, if any, you want to designate as an access key. The character displays as underlined. Press <Alt> and the underlined character to move the focus to the control. To include an ampersand character in a caption without creating an access key, include two consecutive ampersands. A single ampersand displays in the caption and no characters display as underlined.
When you connect this control to a manager control, the manager control sets this property automatically.
08-31-2005 04:27 AM
08-31-2005 10:02 AM
When you call <manager>.ConnectCommand, you get back a CommandConnection object. Set the value of CommandConnection.Options to CommandConnection_IgnoreCaption.
Then you can set the button caption without it being replaced by the manager control.