imoree Posted March 8, 2012 Posted March 8, 2012 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
Lee Smith Posted March 8, 2012 Posted March 8, 2012 http://www.filemaker.com/11help/html/edit_layout.10.29.html
doughemi Posted March 8, 2012 Posted March 8, 2012 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.
jbante Posted March 8, 2012 Posted March 8, 2012 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.
imoree Posted March 8, 2012 Author Posted March 8, 2012 OK. thanks. THought it was simpler, but i guess that is it.
Lee Smith Posted March 8, 2012 Posted March 8, 2012 Could you supply a link to the video you referred to.
jbante Posted March 9, 2012 Posted March 9, 2012 I think this is probably the video imoree was referring to:
imoree Posted March 9, 2012 Author Posted March 9, 2012 (edited) 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, 2012 by Lee Smith Didn't need the quote
Fitch Posted March 13, 2012 Posted March 13, 2012 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.
imoree Posted March 13, 2012 Author Posted March 13, 2012 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. : )
LaRetta Posted March 14, 2012 Posted March 14, 2012 Ray Cologon also has a demo of the technique here http://www.nightwing.com.au/FileMaker/demos8/demo812.html
imoree Posted March 14, 2012 Author Posted March 14, 2012 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) )
LaRetta Posted March 14, 2012 Posted March 14, 2012 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. :^)
imoree Posted March 14, 2012 Author Posted March 14, 2012 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
Recommended Posts
This topic is 4910 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