August 13, 200619 yr 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
August 13, 200619 yr Author 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?
August 13, 200619 yr Author 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, 200619 yr by Guest
August 13, 200619 yr 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
August 14, 200619 yr This can also be one of the places where a repeat can be useful; and you CAN target a specific repeat dynamically.
August 14, 200619 yr 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?!
August 14, 200619 yr 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
Create an account or sign in to comment