March 8, 201213 yr Hello Everyone; i saw pauseonError video for matt navarre showing his fmresults and i loved the auto tooltips when we was searching and wondered how i could go about doing that. EG. if the user hovers over a field it shows the tooltip automagically. [ * here you can enter in the zip code *] thanks, -ian
March 8, 201213 yr In layout mode, select a field and choose Set Tooltip... from the Format menu. In the one solution that I used these, experienced users found them extremely annoying, and I had to do a two-step with duplicate layouts (one with tooltips, and one without) and slews of If(globals::tooltipsOn;...) statements in navigation scripts.
March 8, 201213 yr Couldn't you use slews of "If ( globals::tooltipsON ; ... )" in the tooltip calculations themselves? In layout mode, select a field and choose Set Tooltip... from the Format menu. In the one solution that I used these, experienced users found them extremely annoying, and I had to do a two-step with duplicate layouts (one with tooltips, and one without) and slews of If(globals::tooltipsOn;...) statements in navigation scripts.
March 9, 201213 yr Author thanks Jbante. JUst seeing this. It was a great video wasnt it! Still dont know if Matt has tried to use vlist technique yet though. Edited March 9, 201213 yr by Lee Smith Didn't need the quote
March 13, 201213 yr Virtual lists aren't the answer to all things, Ian. That said... yes, Matt's solution uses a virtual list, but interestingly uses repeating fields to display the results. Matt and I have done projects where tooltips are stored as records, and a startup script loads them into global variables. The tooltips are then entered with a custom function as, e.g., Tip[1] etc. You can then enable/disable them by either building that into the custom function's calc, or triggering a script to clear out the global variable. It's pretty slick, but tooltips change so seldom it is generally not worth the trouble.
March 13, 201213 yr Author Virtual lists aren't the answer to all things, Ian. That said... yes, Matt's solution uses a virtual list, but interestingly uses repeating fields to display the results. Matt and I have done projects where tooltips are stored as records, and a startup script loads them into global variables. The tooltips are then entered with a custom function as, e.g., Tip[1] etc. You can then enable/disable them by either building that into the custom function's calc, or triggering a script to clear out the global variable. It's pretty slick, but tooltips change so seldom it is generally not worth the trouble. Thanks Fitch for your kind words of at least how its done, now to the drawing board on Figuring it out and sample files. : )
March 14, 201213 yr Ray Cologon also has a demo of the technique here http://www.nightwing.com.au/FileMaker/demos8/demo812.html
March 14, 201213 yr Author Pulling the link above LaRetta sent, but lost on this ?? can someone explain these symbols & why to use them? Let([ Vn = ValueCount(Tips::gLibrary); P1 = Position(¶ & Tips::gLibrary; ¶ & ID & " "; 1; 1); P2 = P1 + 1 + Length(ID); P3 = Position(¶ & Tips::gLibrary & ¶; ¶; P2; 1); T1 = Middle(Tips::gLibrary; P2; P3 - P2 - 1); T2 = If(p1 > 0; Substitute(T1; ["°"; """]; ["‡"; "¶"]; ["·"; " "]))]; Evaluate(T2) )
March 14, 201213 yr Hi Ian, They are used as placeholders because they won't be found in any of the text being evaluated. By switching to strange character, it is 'marking' a location safely. :^)
March 14, 201213 yr Author Hi Ian, They are used as placeholders because they won't be found in any of the text being evaluated. By switching to strange character, it is 'marking' a location safely. :^) OHH. great, now i can run it as a script to make out exactly whats going on here. I just keep getting these "¶ª¨ªøˆ•¶˚∆∂˚" messed up thinking they are specific to a function ! : ) thanks LaRetta
Create an account or sign in to comment