At 11:36 AM 1/9/2009, Karen Tellef <[email protected]> wrote:
Aha! Background color when focused -- so we don't have use
an eep anymore. If there is no form-wide cursor change, then
I'll have to make 400 changes!
Remember, we are only limited by our current knowledge of
the product.
FYI,
Setting "Background Color When Focused" option was first
introduced on May 14, 2007, with the official updates of:
. R:BASE 7.6 for Windows Update 1 (Build:7.6.1.30514)
. R:BASE C/S:I 7.6 for Windows Update 1 (Build:7.6.1.30514)
. R:BASE Turbo V-8 for Windows Update 51 (Build:8.0.15.30514)
When you design a cool form with so many DB/Variable Edit
controls, sometimes the end user simply cannot figure out
where the tiny mouse cursor is. In the past we have found
a workaround to change the background color properties on
"On Enter EEP".
Having said that ...
While in form designer, for all your existing 400 controls,
all you need to do is select the "Editable" controls, use
the right-click button and select the #5 option "Background
Color When Focused" and then select your favorite color
from the list of "Use Dialog" or "Use Color Names" template.
In addition, for your future "new" forms ...
You can use the default "Form Settings" for "Edit Objects"
to achieve your goal without customizing each and every edit
control on the form.
Here's how:
01. Start R:BASE 7.6, Turbo V-8, RBG9 (64) or RBG9 (32)
02. Database Explorer | Main Menu | Settings | Form Designer
Default Form Settings | Edit Objects ...
Notice the option for defining background color when
focused.
[ ] Background Color When Focused
This is where you'll have to define the color, including
the option to define your own custom color, if you wish.
Using this custom setting will provide the option for
any individual to use their favorite color.
03. You may also customize this setting for individual
DB/Variable Edit/Memo controls as follows:
Form Designer | Object Properties | Effects
[ ] Background Color When Focused
04. Programmatically, you may use the PROPERTY command as
"On After Start EEP" to dynamically enforce/change the
background color for any DB/Variable Edit/Memo Controls,
if desired.
Example:
PROPERTY <ComponentID> HighlightFocus 'TRUE'
PROPERTY <ComponentID> HighlightFocusColor 'YELLOW'
RETURN
That's all there is to it!
Very Best R:egards,
Razzak.