May 6, 2001

============================================================
>From the Edge: SET INTENSITY and R:BASE 2000 
Section:                Enhancements - Forms
Platform:               R:BASE 2000 (ver 6.5++) for Windows
Build:                  1.840JxRT03 and Higher ... 
============================================================

A REGION is an area on a form that contains field objects 
that are all associated with one table.

A TIER is a set of rows displayed in a region. 

While using [Next Row] and [Previous Row] pre-defined 
functions in a Push Button, or using [<] or [>] of Forms 
Runtime Toolbar to move forward one row or backward one 
row in a Form Region, you can identify the "current" row 
with colors using SET INTENSITY option in The Glorious 
R:BASE 2000 (ver 6.5) for Windows.

SET INTENSITY command was first introduced in R:BASE 2000 
(ver 6.5).

Syntax:

SET INTENSITY OFF/ON
DEFAULT OFF

Purpose:

To highlight the currently focused row.

Example:

SET INTENSITY ON
EDIT USING FormName WHERE .... CAPTION ' '
SET INTENSITY OFF

The default color (WHITE ON BLUE) of the selected row, 
including all columns, are unique and highlighted in 
the region.

Pressing [F8]/[F7], [Next]/[Previous] Buttons, etc., 
changes the current row and highlight the intensity 
of the next focused row. 

R:BASE 2000 (ver 6.5++) includes the option to change 
the default WHITE ON BLUE color!

Syntax:

SET INTENSITY ON/OFF

SET INTENSITY ForeGroundColor BackGroundColor

Example 01:

SET INTENSITY ON
SET INTENSITY WHITE ON GREEN
EDIT USING TieredRegionFormName WHERE .. ORDER BY .. 
SET INTENSITY OFF

During that particular R:BASE session: 

SET INTENSITY ForeGroundColor BackGroundColor 

will remain as WHITE ON GREEN.

Example 02:

SET INTENSITY ON
SET INTENSITY WHITE ON RED
EDIT USING TieredRegionFormName WHERE .. ORDER BY .. 
SET INTENSITY OFF

During that particular R:BASE session:

SET INTENSITY ForeGroundColor BackGroundColor 

will remain as WHITE ON RED.

You can even select a custom color for the background 
using a combination of blue, red, and green values. 

Example 03:

To change INTENSITY colors to WHITE ON ORANGE, enter: 

SET INTENSITY ON
SET INTENSITY WHITE ON (255,128,64)
SET INTENSITY OFF

During that particular R:BASE session:

SET INTENSITY ForeGroundColor BackGroundColor 

will remain as WHITE ON ORANGE.

Notes:

WHITE ON BLUE are the default INTENSITY colors 

If you would like to set your own combination of 
ForeGroundColor and BackGroundColor permanently, then, 
you could use SET INTENSITY ForeGroundColor BackGroundColor 
option in your startup application file OR add an entry 
into R:BASE 2000 (ver 6.5++) for Windows RBASE.INI file! 

Example 04: 

Add the following TWO lines above the [Designers] section 
in RBASE.INI file: 

FFColor=FFFFFF
FBColor=FF0000
 
-- FFColor=FFFFFF means Field Foreground Color (WHITE)
-- FBColor=FF0000 means Field Background Color (BLUE)
-- Color Sequence: BlueRedGreen

Stay tuned for more ... 

Very Best Regards,

Razzak.


===================================-============================
R:BASE Developers's Conference: http://www.rbase.com/conference 
Official R:BASE List Server:    mailto:[EMAIL PROTECTED]
RBTI Events/Training:        http://www.rbase2000.com/events
R:DCC Members:               http://www.rbase2000.com/rdcc
================================================================
R:BASE, Oterro & R:Tango are registered trademarks of RBTI.
==================================-=============================

Reply via email to