MartinBCN Posted December 1, 2004 Posted December 1, 2004 A question that I have in mind ever since I work with Filemaker. Clicking somewhere, anywhere, where there isn't any object often helps me to.. - make ugly field borders disappear - force calculation of a self-related field in some wicked Databases - ... how do I create the event "clicking on no specific spot" with the scripting features? I used to do dumb workarounds like opening and closing the Scripting tool, which gives me for some reason the same result, but I think its time for a smoother solution Martin
Ted S Posted December 1, 2004 Posted December 1, 2004 Try using the Go To Field[] script step. Don't specify a field, just leave it blank. That mimics clicking in an open area.
-Queue- Posted December 1, 2004 Posted December 1, 2004 Go to Field [ ] did often work better in previous versions than Exit Record/Request. But I would think Commit Records/Requests would be more appropriate and accurate in version 7.
MartinBCN Posted December 1, 2004 Author Posted December 1, 2004 Thanks for these suggestions; I definitely will consider them in the future. As for the problem I'm facing right now, I guess that it's impossible to obtain what I want, because the scrolling back to the initial position of the portal rows is most likely not to be avoided in any case...
hayesk Posted December 3, 2004 Posted December 3, 2004 Thanks for these suggestions; I definitely will consider them in the future. As for the problem I'm facing right now, I guess that it's impossible to obtain what I want, because the scrolling back to the initial position of the portal rows is most likely not to be avoided in any case... I think you could do: - SetField(currentportalrowGlobal, Get(PortalRow)) - Commit record - Go To Field(Field in portal) - Go to Portal Row(currentPortalRow)
MartinBCN Posted December 3, 2004 Author Posted December 3, 2004 Thank you, I did exactly what you said, but the key thing was that I had to deactivate the "show field frames when record is active" tag in the layout options to avoid scrolling back of the portal to the initial position. Now everything is perfect... well almost, because now I would even try to realy save the scrolling position of the portal, so that switching between different layout, makes you come back having the some row active and visible as you left.
Recommended Posts
This topic is 7630 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 accountSign in
Already have an account? Sign in here.
Sign In Now