I'm not sure about the RECALC. RECALC forces all form variables to ... well, recalculate.
-----Original Message----- From: "Michael J. Sinclair" <[email protected]> To: [email protected] (RBASE-L Mailing List) Date: Mon, 23 Jul 2012 18:46:34 -0700 (PDT) Subject: [RBASE-L] - RE: Insert vs Overwrite command or property? Hi Jan, This code seems to be working as an 'On Key Press EEP' GETPROPERTY id_prntflag textvalue 'vtext' SET VAR vchar = (SGET(.vtext,1,1)) IF vchar <> 'y' AND vchar <> 'n' THEN SET VAR vchar = NULL ENDIF PROPERTY id_prntflag textvalue .vchar RECALC RETURN When I trace the form trying to use On Row Entry EEPS, sometimes the On Row Entry EEP fires twice in a row after a single key press with the F7 or F8, and for some reason, when if fires twice, the property component_id autoselect 'true' does not seem to work. I am going to try to make a simplified form to demonstrate what I am seeing. Does the above code look ok to you? How would you have done it with more than 2 fields? Mike From: jan johansen <[email protected]> To: RBASE-L Mailing List <[email protected]> Sent: Monday, July 23, 2012 7:25 PM Subject: [RBASE-L] - RE: Insert vs Overwrite command or property? There is a way but your scrolling region needs at least 2 fields -----Original Message----- From: "Michael J. Sinclair" <[email protected]> To: [email protected] (RBASE-L Mailing List) Date: Mon, 23 Jul 2012 14:36:26 -0700 (PDT) Subject: [RBASE-L] - RE: Insert vs Overwrite command or property? > This is perfect for entering the field by using the TAB key. > Is it possible to do the same thing when changing rows with the F7 or > F8 key? > Mike Sinclair > > > ________________________________ > From: A. Razzak Memon <[email protected]> > To: RBASE-L Mailing List <[email protected]> > Sent: Monday, July 23, 2012 9:13 AM > Subject: [RBASE-L] - RE: Insert vs Overwrite command or property? > > At 09:08 AM 7/23/2012, Michael J. Sinclair wrote: > > >Is there a way to highlight all the characters within the field upon > >entering the field? If all the characters are highlighted then the > >overwrite always seems to work perfectly. > > Here's how: > > Form Designer | Object Property | Attributes ... [ ] Auto Select > > You may also use the conditional PROPERTY command as follows: > > PROPERTY <Component ID> AUTOSELECT 'TRUE' > > Have fun! > > Very Best R:egards, > > Razzak. > > http://www.rbase.com/ > www.facebook.com/rbase

