At 02:48 PM 8/30/2004 -0400, David Blocker wrote:
I know the TITLE has it, Emmitt. I want it for the MESSAGE!
David Blocker [EMAIL PROTECTED] 781-784-1919 Fax: 781-784-1860 Cell: 339-206-0261 ----- Original Message ----- From: "Emmitt Dove" <[EMAIL PROTECTED]> To: "RBG7-L Mailing List" <[EMAIL PROTECTED]> Sent: Monday, August 30, 2004 1:09 PM Subject: [RBG7-L] - Re: Enhancement Request
> David, > > TITLE_FONT_NAME, TITLE_FONT_SIZE and TITLE_FONT_COLOR have been fixtures of > the DIALOG command for some time. Perhaps the confusion is that it is the > TITLExxx options rather than MESSAGExxx options in play. > > >Hi R:Base friends. > > > >I posted the following enhancement request to the R:Base site today. If you > >agree, let RBTI know. > > > >"The addition in build 77 of the MESSAGE_FONT_NAME, MESSAGE_FONT_SIZE, > >MESSAGE_FONT_BOLD, MESSAGE_FONT_ITALIC and MESSAGE_FONT_STRIKOUT options to > >the syntax of the PAUSE command goes a LONG way toward enabling us to use > >this command in code when for many reasons, including the failing eyesight > >of our aging but loyal users, the default font of the PAUSE command is not > >appropriate. > > > >Adding the SAME options to the DIALOG command would enable us to present a > >consistent user interface to users, thus making R:Base look even better!"
David,
The solution provided by Emmitt Dove SHOULD work exactly the way you requested. I know that the TITLE_FONT_NAME, TITLE_FONT_SIZE and TITLE_FONT_COLOR is sort of confusing but it actually works for DIALOG message.
Having said that and without breaking the existing code, RBG7.1 Update 77 (Release Version) will also support the following OPTIONS for DIALOG command.
MESSAGE_FONT_COLOR value MESSAGE_BACK_COLOR value MESSAGE_FONT_NAME value MESSAGE_FONT_SIZE nn MESSAGE_BOLD value MESSAGE_ITALIC value MESSAGE_UNDERLINE value MESSAGE_STRIKEOUT value
-- Example 01 (DIALOG Command)
DIALOG 'Type Dialog Message Here ...' vResponse vEndKey 1 + CAPTION 'Type Dialog Caption Here ...' ICON QUESTION + OPTION MESSAGE_FONT_COLOR RED + |MESSAGE_BACK_COLOR WHITE + |MESSAGE_FONT_NAME Verdana + |MESSAGE_FONT_SIZE 16 + |MESSAGE_BOLD ON + |MESSAGE_ITALIC OFF + |MESSAGE_UNDERLINE OFF + |MESSAGE_STRIKEOUT OFF + |WINDOW_BACK_COLOR WHITE + |BUTTON_OK_CAPTION &OK + |BUTTON_CANCEL_CAPTION &Cancel + |BUTTONS_BACK_COLOR LIGHT GRAY + |BUTTONS_SHOW_GLYPH ON
-- Example 02 (DIALOG with Buttons - Yes/No)
DIALOG 'Type Message Here ...' vResponse vEndKey YES + CAPTION 'Type Caption Here ...' ICON QUESTION + OPTION MESSAGE_FONT_COLOR RED + |MESSAGE_BACK_COLOR WHITE + |MESSAGE_FONT_NAME Verdana + |MESSAGE_FONT_SIZE 16 + |MESSAGE_BOLD ON + |MESSAGE_ITALIC OFF + |MESSAGE_UNDERLINE OFF + |MESSAGE_STRIKEOUT OFF + |WINDOW_BACK_COLOR WHITE + |BUTTON_YES_CAPTION &Yes + |BUTTON_NO_CAPTION &No + |BUTTON_YES_COLOR WHITE + |BUTTON_NO_COLOR WHITE + |BUTTON_YES_FONT_COLOR GREEN + |BUTTON_NO_FONT_COLOR RED
Updated Dialog and Dialog with Button Syntax Builders for R:Docs will also be included with the upcoming update.
When you are poised for perfection ... Perfection is perfection and imperfection is not perfection!
Very Best R:egards,
Razzak.
