Thanks, Jan. As a single seat user I look for ways to get good looking reports without a lot of coding. I do prefer to use simple command lines instead of a lot of "mouse work". How nice it would be to have your stationery for reports print out as part of the report by using a theme (not just on the screen) and not have to set it up in the designer.
Joan

On 5/18/2010 8:42 AM, jan johansen wrote:
Joan,
A report is definately different than a form. Since the original intent of a report is to go to a printer, there really doesnt' seem to be a reason to have theme selection in the designer. When you stop and think about it, being able to change the THEME of a screen option by command line is very powerful. If you have a selected a theme for your application, you can use the GETPROPERTY command in the after start eep of your main menu form as such
GETPROPERTY RBASE_FORM THEMENAME pThemeName
(I use p because I ofter clear my variables by issueing CLEAR VAR v%)
Then any dialogs, report calls, pause statements, custom popups can be changed to your theme by simply adding the option
|THEMENAME &pThemeName like such;
*
IF
2 *USING* '-ERROR- You Must Select Customer and PO First!' *+
*  CAPTION* ' Oops!' *+
*  ICON* STOP * +
*  BUTTON* 'Press any key to continue ...' * +
*  OPTION* *BUTTON_FONT_COLOR* *GREEN* * +
*  |MESSAGE_FONT_NAME *+
*  |MESSAGE_FONT_COLOR *+
*  |MESSAGE_FONT_SIZE 10 * +
*  |MESSAGE_FONT_BOLD *+
*  |THEMENAME* &pThemeName
*  RETURN*
*ENDIF*** ** *ON* ** ** * RED* ** ARIAL ****** vQuoteCustomerID *IS* *NULL* *AND* vQuotePurchaseOrder *IS* *NULL* *THEN*
*  CLS*
*  PAUSE*
This is just my opinion but I don't believe it is good idea to have a theme selector in the report designer but you can always request an enhancement request. A nice new feature in Extreme 9.0 is the ability to select all your forms at once and change or remove any applied theme.
Jan


    -----Original Message-----
    From: Joan Peterson <[email protected]>
    To: [email protected] (RBASE-L Mailing List)
    Date: Mon, 17 May 2010 16:23:28 -0400
    Subject: [RBASE-L] - Re: Tip of the Day: Using Custom Themes in
    R:BASEeXtreme9.0

    Are you saying use a command line to print? I would want to see it in
    the report setup.
    Joan

    On 5/17/2010 11:36 AM, Steve Vellella wrote:
    > You can declare a theme when using the "Print xxxxxx option
    screen" that
    > will use the theme for the print preview screen.
    >
    > Steve Vellella
    > Office: 520-498-2256
    > Cell: 520-250-6498
    > -----Original Message-----
    > From: [email protected] [mailto:[email protected]] On Behalf Of Joan
    > Peterson
    > Sent: Monday, May 17, 2010 5:46 AM
    > To: RBASE-L Mailing List
    > Subject: [RBASE-L] - Re: Tip of the Day: Using Custom Themes in
    R:BASE
    > eXtreme9.0
    >
    > It would be nice to be able to apply or change a theme to
    Reports in the
    > Report Designer as part of the print setup.  I see that a theme
    can be
    > declared as part of Form Design.
    > Joan
    >
    > On 5/17/2010 12:11 AM, A. Razzak Memon wrote:
    >
    >> Monday, May 17, 2010
    >>
    >> Tip of the Day: Using Custom Themes in R:BASE eXtreme 9.0 (32/64)
    >>
    >> Supported Versions: R:BASE eXtreme 9.0 (32)
    >> Supported Versions: R:BASE eXtreme 9.0 (32)
    >> Supported Builds..: 9.0.1.10511 or higher
    >> R:BASE Updates: http://www.rupdates.com
    >>
    >> Did you know that you can integrate your own custom theme in R:BASE
    >> eXtreme 9.0?
    >>
    >> There are 86 (35 old + 51 new) pre-defined themes available in
    R:BASE
    >> eXtreme 9.0. These themes can be applied to Internal Forms,
    External
    >> Forms (.rff), Applications (.rba), the Print Preview window,
    CHOOSE,
    >> DIALOG, PAUSE, PLUGIN (RCalculator), and PRNSETUP dialog windows.
    >>
    >> Here is a list of documented themes in R:BASE eXtreme 9.0:
    >>
    >> 01. Aqua
    >> 02. BeOS
    >> 03. Blade
    >> 04. Blue Monkey
    >> 05. Bugatti
    >> 06. Catalyst
    >> 07. Celestial
    >> 08. Chrome
    >> 09. Clear Orange
    >> 10. Convergence
    >> 11. Crystal Blue
    >> 12. Dazzle
    >> 13. Elegance
    >> 14. Eternal
    >> 15. Forest Green
    >> 16. Destiny
    >> 17. Gallardo
    >> 18. Homestead
    >> 19. iTunes
    >> 20. KDE
    >> 21. Legends
    >> 22. Luna
    >> 23. Luxor
    >> 24. Metallic
    >> 25. Mind Wood
    >> 26. Mint
    >> 27. Navy
    >> 28. Office 2007
    >> 29. Panther
    >> 30. Plex
    >> 31. Prof Skin
    >> 32. QNX
    >> 33. Radiance
    >> 34. Royale
    >> 35. Sentinel Blue
    >> 36. Sentinel Green
    >> 37. Sentinel Red
    >> 38. Sentinel Purple
    >> 39. Sentinel Silver
    >> 40. Seven
    >> 41. Sniper
    >> 42. Soft Blue
    >> 43. Swing
    >> 44. Venom
    >> 45. Vienna
    >> 46. Vista CG
    >> 47. Vista New
    >> 48. Water Color
    >> 49. Windows Media Player 11
    >> 50. Wood
    >> 51. Yrgen Style
    >>
    >> If that is not enough, now you can integrate your own custom theme
    >> in R:BASE eXtreme 9.0.
    >>
    >> Here's how:
    >>
    >> 01. Create a separate folder, such as "Styles" under the same
    folder
    >>       with your database and application(s).
    >>
    >> 02. Copy your own custom designed theme (themename.msstyles)
    file in
    >>       "Styles" folder.
    >>
    >> 03. Use the following PROPERTY command to load your custom designed
    >>       theme in your application startup or RBASE.DAT file.
    >>
    >>       -- Load Theme
    >>       PROPERTY LOAD_THEME 'themename' 'Styles\themename.msstyles'
    >>       -- your additional code here
    >>       RETURN
    >>
    >> 04. Use the following PROPERTY command to release your custom
    >>       designed theme from memory, such as application EXIT routine.
    >>
    >>       -- Release Theme
    >>       PROPERTY RELEASE_THEME 'themename' 'TRUE'
    >>       RETURN
    >>
    >> 05. Use the following PROPERTY command to change custom theme.
    >>
    >>       -- Change Theme
    >>       PROPERTY CHANGE_THEME 'themename' 'filepathandname'
    >>       RETURN
    >>
    >>       Example:
    >>
    >>       PROPERTY CHANGE_THEME NewLuna 'Styles\LunaXP.msstyles'
    >>       RETURN
    >>
    >>       After this command is issued, the theme NewLuna will use
    >>       the styles defined in the LunaXP.msstyles file.
    >>
    >>       This command parameter is provided to alter the theme file,
    >>       and to avoid changing the specified "theme name" is every
    >>       location within the code.
    >>
    >> 06. In a compiled application, you may embed your custom themes
    >>       as built-in resource without including external files.
    >>
    >>       R:Compiler 9.0 | Additional Resources | Themes
    >>       Add Themes ... (*.msstyles)
    >>       Load Theme(s) from Library...
    >>
    >> Note:
    >>
    >> All previously defined Forms which are redefined to use Themes
    >> should be thoroughly checked prior to putting into production,
    >> as objects and text may look substantially different.
    >>
    >> Have fun!
    >>
    >> Very Best R;egards,
    >>
    >> Razzak.
    >>
    >> P.S. To review all Themes in a live form, run the "Dynamic R:BASE
    >> eXtreme 9.0 Theme Selector" form, RBG90_ThemeSelctr, within the
    >> RRBYW16 sample database (bundled with full installation) of R:BASE
    >> eXtreme 9.0 (32) and (64).
    >>
    >>
    >>
    >>
    >>
    >
    >
    >

Reply via email to