Software Venture Consulting

FileMaker Pro downloads & Resources
FileMaker Custom Functions
FileMaker Web Viewer Examples
FileMaker Pro & Lasso Consulting
Training
FileMaker Books
FileMaker Articles
FileMaker Error Reference

Free Web Tools
Free FileMaker Tools

Personal Pages
Videos
Adventures
Links

Shopping Cart
Shopping Cart

Search:

Free Newsletter
Signup


Contact


Privacy Policy



FileMaker is a registered trademark of FileMaker, Inc. in the U.S. and other countries.

 

 FileMaker Pro Custom Functions

List  |  Show Random  |  Upload  |  Add This to Your Site

LastButtonClic ( Self_NameObjectBar ; Button_BarButton )

Rate this function:  

RatingRatingRatingRatingRating
  Average rating: 4.4  (35 votes)
  Discuss this Custom Function

Agnes Barouh, Tic Tac
http://www.tictac.fr/CoinFileMaker/PageLastClicName.html

Set variable $$LastButtonClic with the last button clic ( See FileExample )

Sample Input:
LastButtonClic ( Self ; "Button" )


------------
LastButtonClic ( "B1" ; "BarButton" )
Sample Output:
$$LastButtonClic contain the title of the button


------------
$$LastButtonClic contain the nameObject of the button


 Then copy & paste into FileMaker Advanced's Edit Custom Function window.

Click here to copy To Clip Manager if you have myFMbutler's Clip Manager installed

Description:

** [05/08/2015] Open the file in v12 and v13 for button simple

// LastButtonClic ( Self_NameObjectBar ; Button_BarButton ) V_1 - [05/08/2015]
// LastButtonClic not recursive
// Compatible : for buttonBar - FM_v14 Only - FmGo, Pro, local /remote
// Compatible : for buttonSimple - FM_v12 v13 v14 - FmGo, Pro, local /remote
// Not compatible WebDirect / Button PopOver

/*
Result : Set variable $$LastButtonClic with the last button clic
**Put the calc with CustomFunction in the conditional**

• Self_NameObjectBar >
- Self - for simple button or barButton with just one segment
- NameObject - for barButton with more one segment
• Button_BarButton >
- Button - for simple button or barButton with just one segment
- BarButton - for barButton with more one segment
*/

//---------------------------------- File Example
// http://www.tictac.fr/CoinFileMaker/PageLastClicName.html
//---------------------------------- Example
/*
•• conditional formatting calculation is about 3 milliseconds before the script parameter

calc place in the conditional
LastButtonClic ( Self ; "Button" ) result > $$LastButtonClic contain the title of the button ( v12 - v13 - v14 )
LastButtonClic ( "B1" ; "BarButton" ) r esult > $$LastButtonClic contain the nameObject of the button ( v14 )

$$LastButtonClic, which can recover / use since ScriptParameter or in the beginning of the script ( the first ScriptStep => $Clic = $$LastButtonClic for example

***[note] you can addapt the Cf for ButtonBar and for performance in mode List :
remove the Evaluate () at the last of calc and put the Evaluate in your script ( or parameterScript ) :
$ResultClic = Case ( Left ( $$LastButtonClic ; 3 ) = "Let" ; Evaluate ( $$LastButtonClic ) ; $$LastButtonClic )
*/

Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.

This is my Custom Function and I want to edit it

Discuss:

There are no comments yet. Be the first to post a comment about this Custom Function! Please try to keep it brief & to the point. Anyone can post:

Your Name:
City/Location:
Comment:
characters left. If you paste in more than 1500 characters, it will be truncated. Discuss the function - advertisements and other useless posts will be deleted.
Answer 0 + 9 =
Search for Custom Functions:

Custom Functions Widget
Download the Custom Function Dashboard Widget for OS X
Keep all the latest Custom Functions right at your fingertips!

Newest Custom Functions:

1. decFromHex ( hexValue )
  (Mon, Oct 16, 12:34pm)
2. MonthYearList ( startmonth ; startyear ; numbermonth ; short )
  (Mon, Oct 16, 3:38am)
3. ErrorDescription ( errorNumber )
  (Wed, Sep 27, 2:51am)
4. decodeEntities (text)
  (Wed, Sep 27, 1:22am)
5. HexidecimalToNumber ( HexidecimalValue ; counter )
  (Mon, Sep 25, 12:39pm)
6. FixedFieldConverter ( Fieldname ; f1 ; f2 ; f3 ; f4 ; f5 ; f6 ; f7 ; f8 ; f9 ; f10 ; f11 ; f12 ; f13 ; f14 ; f15 ; f16 ; f17 ; f18 ; f1
  (Fri, Sep 15, 12:34pm)
7. ShannonEntropy ( text )
  (Thu, Sep 07, 5:59am)
8. LetterCount ( text ; summary )
  (Thu, Sep 07, 5:53am)

RSS Feed of Custom Functions