modles Posted August 13, 2006 Posted August 13, 2006 Hi guys I have made a little popup numberpad, and i want it so that when they press a button in the popup numberpad it inserts the value entered into the field where the original button (to pop the number pad) was set. So basically i need to use setfield or insert calulated but need to be able to dynamically set the target field. cant see any way of doing this, am i missing something? cheers ben
modles Posted August 13, 2006 Author Posted August 13, 2006 i guess another workaround would be just to be able to put the cursor in the field that was clicked? any way of doing this?
modles Posted August 13, 2006 Author Posted August 13, 2006 (edited) hmmm well this works Go to Field [ ] [ Select/perform ] Go to Next Field Loop Exit Loop If [ Get ( ActiveFieldName ) = Get ( ScriptParameter ) ] Go to Next Field End Loop only prob is when i have fields in a portal, it just goes to the first portal row, even if the field i clicked was in say row 4!! arghhh wish filemaker would add this as a feature, as well as being able to hide objects in layouts through scripting. Would have thought they would look at stuff like this before they start doing web page panels etc. hey ho Edited August 13, 2006 by Guest
LaRetta Posted August 13, 2006 Posted August 13, 2006 Hi Ben, "I have made a little popup numberpad" I'm unclear on how your numberpad was created. When you say popup, what do you mean? It sounds like you are overcomplicating here but I can't visualize what you have. If the numberpad is comprised of buttons, why not attach a script parameter to the button and, when clicked, pick up that value in your script? Why don't you explain what you want to accomplish and see if we can add some clarity to your attempt or confuse you further? LaRetta
bruceR Posted August 14, 2006 Posted August 14, 2006 This can also be one of the places where a repeat can be useful; and you CAN target a specific repeat dynamically.
Ender Posted August 14, 2006 Posted August 14, 2006 This can also be one of the places where a repeat can be useful; and you CAN target a specific repeat dynamically. Wow, did Hell freeze over, or did Bruce just find something he likes about repeating fields?!
Søren Dyhr Posted August 14, 2006 Posted August 14, 2006 I had the same notion of a stolen identity yesterday, when seeing his ...fatalistic response in this thread: http://fmforums.com/forum/showtopic.php?tid/179354/post/217864/#217864 Which is more the way Queue's or Transpower's advices were given - "Give the people what they wan't" kind of attitude. --sd
Recommended Posts
This topic is 7024 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