Dialogs

I have created a dialog box for a Calc macro that works just fine. When I made the dialog the text box had a background color and the buttons were colored as well. However, when I actually run the macro the dialog box appears only in B&W (and gray, of course).  What must I do to have the original colors displayed?

Brian Grawburg