I don't think you can. But you could create a label that looks like a
button, and either use that label's Click event as you would a button's
click event, or put a transparent command button over it. You won't get
the exact same user-interface behavior as you would with a simple
command button, but it could be pretty close.
You can fake Left Alignment by padding the Caption with SPACE
characters. It does not always work via the control's Caption on the
Property Sheet but you can do it programmatically.
Me.Command12.Caption = "test "
--
HTH
Stephen Lebans http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
You can fake Left Alignment by padding the Caption with SPACE
characters. It does not always work via the control's Caption on the
Property Sheet but you can do it programmatically.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.