Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8570 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hello,

Does somebody know how to let scriptmaker make an enter/backspace in an active field? I just can't get it right. My mac is making to much hours to get it done frown.gif" border="0

thanx already!

Jeffrey

Posted

quote:

Originally posted by jeffrey:

Hello,

Does somebody know how to let scriptmaker make an enter/backspace in an active field? I just can't get it right. My mac is making to much hours to get it done
frown.gif" border="0

thanx already!

Jeffrey

Hello Jeffrey,

you have to know that FM makes distinction between CARRIAGE RETURN and ENTER (on numeric keypad); the effects are:

  • CR, when entered, forces the text to be continued on the next line

  • ENTER partially releases the current record, produces a "do nothing" effect on the current form and exits from the current focused field (semi like a dumb DOEVENTS in visual programming)

The conclusions are:

if you need a CR, simply copy the symbol from an ASCII chart and paste it in the proper field (via script or calculation); else, if you need an ENTER, use the script step EXIT RECORD/REQUEST.

BACKSPACE simulating is a very hard concern: if you are at the end of the entered text you can easily suppress the last char., but if you aren't in that position you haven't the possibility to know which character you need to 'eat'.

Hope this helps & regards

[ June 11, 2001: Message edited by: JPaul ]

[ June 11, 2001: Message edited by: JPaul ]

This topic is 8570 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.