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

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

Recommended Posts

Posted

(Using FM 6, multi-platform)

This is one of those odd obvious questions that either has a simple answer, or is impossible.

I need to script leaving a field. Or, script the action that happens when you click a layout's background, the last field visited is "deselected."

I have a script that does some stuff, then enters a field to copy the contents to clipboard. It works, but it leaves the user "in" that field, which is highlighted. This field is normally flagged to not allow entry, so at that point entry is possible anyway. Besides, it looks untidy.

Is there any way to end this script at rest, with no fields selected?

Steve Brown

Posted

(Using FM 6, multi-platform)

This is one of those odd obvious questions that either has a simple answer, or is impossible.

I need to script leaving a field. Or, script the action that happens when you click a layout's background, the last field visited is "deselected."

I have a script that does some stuff, then enters a field to copy the contents to clipboard. It works, but it leaves the user "in" that field, which is highlighted. This field is normally flagged to not allow entry, so at that point entry is possible anyway. Besides, it looks untidy.

Is there any way to end this script at rest, with no fields selected?

Steve Brown

Posted

(Using FM 6, multi-platform)

This is one of those odd obvious questions that either has a simple answer, or is impossible.

I need to script leaving a field. Or, script the action that happens when you click a layout's background, the last field visited is "deselected."

I have a script that does some stuff, then enters a field to copy the contents to clipboard. It works, but it leaves the user "in" that field, which is highlighted. This field is normally flagged to not allow entry, so at that point entry is possible anyway. Besides, it looks untidy.

Is there any way to end this script at rest, with no fields selected?

Steve Brown

Posted

Exactly! Works like a charm.

I would have hought of that because I knew I didn't want to leave the record, and I would have thought the "request" was for find mode. Maybe I'm just too literal-minded.

thanks,

Steve Brown

Posted

Exactly! Works like a charm.

I would have hought of that because I knew I didn't want to leave the record, and I would have thought the "request" was for find mode. Maybe I'm just too literal-minded.

thanks,

Steve Brown

Posted

Exactly! Works like a charm.

I would have hought of that because I knew I didn't want to leave the record, and I would have thought the "request" was for find mode. Maybe I'm just too literal-minded.

thanks,

Steve Brown

Posted

Steve said ...I would have thought the "request" was for find mode.

Script steps such as ...

Exit Record/Request

New Record/Request

Duplicate Record/Request

Delete Record/Request

... and others, are multi-purpose depending upon mode. New Record/Request would create a new record in Browse but would create a new find request while in Find mode.

The slash tells you it's a multi-purpose script step. wink.gif

LaRetta

Posted

Steve said ...I would have thought the "request" was for find mode.

Script steps such as ...

Exit Record/Request

New Record/Request

Duplicate Record/Request

Delete Record/Request

... and others, are multi-purpose depending upon mode. New Record/Request would create a new record in Browse but would create a new find request while in Find mode.

The slash tells you it's a multi-purpose script step. wink.gif

LaRetta

Posted

Steve said ...I would have thought the "request" was for find mode.

Script steps such as ...

Exit Record/Request

New Record/Request

Duplicate Record/Request

Delete Record/Request

... and others, are multi-purpose depending upon mode. New Record/Request would create a new record in Browse but would create a new find request while in Find mode.

The slash tells you it's a multi-purpose script step. wink.gif

LaRetta

Posted

Another way (I think) is to use the Goto Field script step but don't specify a field. Just leave it blank. I believe that takes the cursor out of all fields.

Posted

Another way (I think) is to use the Goto Field script step but don't specify a field. Just leave it blank. I believe that takes the cursor out of all fields.

Posted

Another way (I think) is to use the Goto Field script step but don't specify a field. Just leave it blank. I believe that takes the cursor out of all fields.

Posted

That worked in FMP 6 and earlier, but I'd consider this to be a dodgy practice in FMP 7. Instead I'd be explicitly calling the Exit Record/Request equivilent (can't for the life of me remember what the step is called!)

Posted

That worked in FMP 6 and earlier, but I'd consider this to be a dodgy practice in FMP 7. Instead I'd be explicitly calling the Exit Record/Request equivilent (can't for the life of me remember what the step is called!)

Posted

That worked in FMP 6 and earlier, but I'd consider this to be a dodgy practice in FMP 7. Instead I'd be explicitly calling the Exit Record/Request equivilent (can't for the life of me remember what the step is called!)

Posted

Is there any way to end this script at rest, with no fields selected?

At the end of this script put script step:

Go to field Your field select contents.

Posted

Is there any way to end this script at rest, with no fields selected?

At the end of this script put script step:

Go to field Your field select contents.

Posted

Is there any way to end this script at rest, with no fields selected?

At the end of this script put script step:

Go to field Your field select contents.

This topic is 7197 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.