Jump to content

rivet

Members
  • Posts

    642
  • Joined

  • Last visited

  • Days Won

    9

rivet last won the day on July 18 2016

rivet had the most liked content!

Profile Information

  • Slogan
    < = >
  • Gender
    Not Telling

FileMaker Experience

  • Skill Level
    Expert
  • FM Application
    19

Platform Environment

  • OS Platform
    Mac
  • OS Version
    11

FileMaker Partner

  • Certification
    Not Certified

Recent Profile Visitors

7,221 profile views

rivet's Achievements

Mentor

Mentor (12/14)

  • Dedicated Rare
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter

Recent Badges

40

Reputation

2

Community Answers

  1. attached is a sample -- FileMaker 19 required qr generate [rivet].fmp12.zip
  2. I find a tooltip reads better, if you add a bit of padding. "¶ "& text &" ¶" You can convert to a custom function or use as is.
  3. I wanted a quick way of modifying a script to analyze its load time. While the raw results can be used however needed, in this example I converted the data into a simple 'chart' for a quick visual summary. RIVET Script Load Time v1b.zip
  4. here is a popover tweaked a bit to have a tray effect popover-tray.zip
  5. code Let ( o = "portalA" ; "objectType:" & GetLayoutObjectAttribute(o; "objectType") &" | ¶" & "hasFocus:" & GetLayoutObjectAttribute(o; "hasFocus") &" | ¶" & "containsFocus:" & GetLayoutObjectAttribute(o; "containsFocus") &" | ¶" & "isFrontPanel:" & GetLayoutObjectAttribute(o; "isFrontPanel") &" | ¶" & "isActive:" & GetLayoutObjectAttribute(o; "isActive") &" | ¶" & "isObjectHidden:" & GetLayoutObjectAttribute(o; "isObjectHidden") &" | ¶" & "bounds:" & GetLayoutObjectAttribute(o; "bounds") &" | ¶" & "left:" & GetLayoutObjectAttribute(o; "left") &" | ¶" & "right:" & GetLayoutObjectAttribute(o; "right") &" | ¶" & "top:" & GetLayoutObjectAttribute(o; "top") &" | ¶" & "bottom:" & GetLayoutObjectAttribute(o; "bottom") &" | ¶" & "width:" & GetLayoutObjectAttribute(o; "width") &" | ¶" & "height:" & GetLayoutObjectAttribute(o; "height") &" | ¶" & "rotation:" & GetLayoutObjectAttribute(o; "rotation") &" | ¶" & "source:" & GetLayoutObjectAttribute(o; "source") &" | ¶" & "content:" & GetLayoutObjectAttribute(o; "content") &" | ¶" & "enclosingObject:" & GetLayoutObjectAttribute(o; "enclosingObject") ) watch result ... | isActive:0 | isObjectHidden:0 | bounds:178 198 1028 511 0 | left:178 | right:1028 | top:198 ...
  6. One version with shadows and one without. In the off state, note the background of the switch is black with an opacity of 8%, so it adapts to the layout color. iOS toggle.zip
  7. Thanks LaRetta. I just posted a subtle update (v2)
  8. I rewrote a timepicker I liked (originally lifted from calendar5 by Readdle). It is now 'tableless', I almost had it 'scriptless' but could not get a refersh to happen, regardless, enjoy RIVET timepicker.fmp12.zip
  9. Here is a nice UI element that I lifted from another app. RIVET expanding popover.fmp12.zip
  10. Thanks Fitch for taking a look at this. I sensed it might be over built but I still need an extra step. The schedules are monthly, bi-monthly and quarterly. So I would only want to start the list once the calculated date is on or after startDate. i.e. startDate of May1 - monthly schedule would start month 5 and onward - quarterly schedule would start month 7 and onward.
  11. Hi CFD, longtime user, first time builder! I need to build a list of dates, from a starting date, up to the 1st of the month after Get ( CurrentDate ). Each date will start on the 1st, and will spaced by an interval of so many months. EXAMPLE ƒ serviceSchedule ( Date ( 5 ; 1 ; 2017 ) ; 1 ) //monthly = 5/1/2017, 6/1/2017, 7/1/2017, 8/1/2017, 9/1/2017, 10/1/2017, 11/1/2017, 12/1/2017, 1/1/2018, 2/1/2018, 3/1/2018 ƒ serviceSchedule ( Date ( 5 ; 1 ; 2017 ) ; 3 ) //quarterly = 7/1/2017, 10/1/2017, 1/1/2018 I have the loop start on January of the startDate year, and loop from there. I do get the results but the behavior of the CF is peculiar, which I am guess might be use of local variables ($). Attached is a test file, try the function in the data viewer and note that you have to click evaluation twice to get the result. // serviceSchedule ( startDate ; interval ) Case ( // Initialize not $loopStopDate ; Let ( [ $itvl = interval ; $sd = startDate ; $startYear = Year ($sd) ; $cd = Get ( CurrentDate ) ; $loopStopDate = Date ( Month($cd)+1 ; 1 ; Year($cd) ) ; $loopInterval = 1 ; $dte = Date ( 1 ; 1 ; $startYear ) ]; serviceSchedule ( $dte ; $itvl ) ) ; // Ignore and up date startDate < $sd ; Let ( [ $dte = Date ( 0 + $loopInterval ; 1 ; $startYear ) ; $loopInterval = $loopInterval + $itvl ]; serviceSchedule ( $dte ; $itvl ) ) ; // Add to array up date startDate < $loopStopDate ; Let ( [ $array = case ( isEmpty ($array) ; "" ; $array & "¶" ) & $dte ; $dte = Date ( 0 + $loopInterval ; 1 ; $startYear ) ; $loopInterval = $loopInterval + $itvl ]; serviceSchedule ( $dte ; $itvl ) ) ; // END startDate > $loopStopDate ; Let ( [ result = $array ; $array = "" ; $cd = "" ; $dte = "" ; $itvl = "" ; $loopInterval = "" ; $loopStopDate = "" ; $sd = "" ; $startYear = "" ]; result ) ) serviceSchedule.zip
  12. Most of my medium to heavy scripts are now performed on server. To give the users some feedback while they wait, I wanted a method that was simple and subtle. In this example I ; added a popover button with '+' icon set the feedback message in the popover title bar formatted, sized and positioned the popover added a OnObjectEnter script tigger to the popover in the script I add a PSoS step with Wait for completion set to 'On' last step of script is Close Popover
×
×
  • Create New...

Important Information

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