Where did you put the component ID?
----- Original Message -----
From: Michael J. Sinclair
To: RBASE-L Mailing List
Sent: Saturday, April 17, 2010 6:46 PM
Subject: [RBASE-L] - Re: Which EEPs gets these command? ARGH!
I must be losing my mind. this should be easy!
I made a new form, 1 field, a variable edit, with a component id of
id_key_stroke_ln
I have this in my form properties "AFTER START EEP"
--ON AFTER START EEP
PROPERTY id_key_stroke_ln highlightfocus 'true'
PROPERTY id_key_stroke_ln highlightfocuscolor 'yellow'
PROPERTY id_key_stroke_ln lastchar 'true'
PROPERTY id_key_stroke_ln set_focus 'TRUE'
RETURN
When I run the form, there is a blinking cursor in the field, but it is
white, not yellow.
What am I doing wrong?
Mike
--- On Sat, 4/17/10, Bernard Lis <[email protected]> wrote:
From: Bernard Lis <[email protected]>
Subject: [RBASE-L] - Re: Which EEPs gets these command?
To: "RBASE-L Mailing List" <[email protected]>
Date: Saturday, April 17, 2010, 6:06 PM
After start eep.
The component indicator name should be from the field you want to
start in
PROPERTY cid SET_FOCUS 'TRUE'
where cid is the component id as above.
----- Original Message -----
From: Michael J. Sinclair
To: RBASE-L Mailing List
Sent: Saturday, April 17, 2010 5:47 PM
Subject: [RBASE-L] - Which EEPs gets these command?
Hi all,
I am trying to figure out which EEPS should get certain
commands. My goal is to have the user have the opportunity to start typing the
moment the form displays, without having to click on the field that requires
data entry. Specifically, I want a blinking cursor in the field, with a yellow
background, when the form starts and again after a Bit Button (or an Enhanced
Speed Button) is clicked.
I think I need these commands...
PROPERTY id_key_stroke_ln HIGHLIGHTFOCUS 'TRUE'
PROPERTY id_key_stroke_ln HIGHLIGHTFOCUSCOLOR 'yellow'
PROPERTY id_key_stroke_ln LASTCHAR 'TRUE'
PROPERTY id_key_stroke_ln SET_FOCUS 'TRUE'
What I can't seem to figure out is which EEPS should have
these commands? And in what order?
For starting the form, should they go in the "Form
Properties" ON BEFORE START EEP or in the ON AFTER START EEP?
To make it work for clicking the Bit Button (or the Enhanced
Speed Button), should they go in the "On Click EEP" of the button or should
they go in the "On Entry EEP" of the Variable Edit Field?
Do I have the right idea? Is there a better way of making
this work?
TIA.
Mike