Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

help on Tooltips?

 [1/3] from: ingo::2b1::de at: 27-May-2002 13:01


Hi All, now I'm trying to show additional info on entries in my layout, I have a feel object with the following (experimenal) 'over func: over: func [f a e /local new-entry][ prin "over " either a [ print "+" xx: make face [ offset: e ] xx/pane: layout [ title f/user-data/header ] show-popup/window xx month-lay ; month-lay is my top-level layout ] [ print "-" hide xx ] ] After moving around a while I get no more events (at least, 'over isn't called any more), any ideas on how to make it behave better? Btw, I tried to use 'hide-popup, but that closed the whole window. Btw2, the function 'show-dropdown in probe get-style 'drop-down might be of some help, if only I understood what it's doing, has anyone tried a drop-down in /view 1.2.5? It seems not to work properly in a test of mine (drop-down field is never closed), and as I just noticed, it's not present in /view 1.2.1. Kind regards, Ingo

 [2/3] from: brett:codeconscious at: 27-May-2002 23:39


Hi Ingo,
> Hi All, > After moving around a while I get no more events (at least, 'over isn't > called any more), any ideas on how to make it behave better?
I haven't had a chance to try out your code. I can only think of two things off the top of my head right now. (1) Your events might be being eaten my the newly created tooltip face? (2) Are you using drop-down in your test layout?
> Btw2, the function 'show-dropdown in > > probe get-style 'drop-down > > might be of some help, if only I understood what it's doing, has anyone > tried a drop-down in /view 1.2.5? It seems not to work properly in a > test of mine (drop-down field is never closed), and as I just noticed, > it's not present in /view 1.2.1.
I'd overlooked DROP-DOWN until you just pointed it out. Yes it looks buggy. I had a look at that show-dropdown function too. Again I haven't had time to check it through but I'm suspicious of the WAIT and the DO-EVENTS (wait again). Doesn't feel right ;^) Regards, Brett.

 [3/3] from: greggirwin:mindspring at: 27-May-2002 8:57


Hi Ingo, I also haven't tried your code, but I did submit feedback on DROP-DOWN. --Gregg