Have you used 'void' ? if gLookup = void then ... end if Have also made an alike hypertext, but swapping in between pictures in a database made like a sort of text, sound and pictural type. and in one field I got this keyword-swapper. Push for a word and everything of pictures and texts changes. Same there as I got problems in clicking in empty spaces and not activated premature fields or getting in noncense into the global variables. The databases hypertext fields has all to be filled up first, whcih is anohter sign of it's lacking code for that too.. I'm not sitting by the working machine and it was a while ago I had crasched into that trouble. As I recall the keywords was set for each cast in a looong if-script (probably was set prolonged through some extra handlers or moviescripts) and at the end the error-handling was set by the 'else'-sentence syntax ending all. It's there you should get your stuff bluntly said in first aid.
Or you could mock it with some 'clearGlobals', but that is dangerous if other globals are involved.. All of needed globals must then be reactivated again... and it sucks. And then you get a probable lust for setting colours on the keywords; PRE- AND POST- and maybe DURING (active) with 'forecolor..' and background colours. 'hilite' doesnt really work 100% perfect in fields, have some sort of lackings depending also what you are after to achieve. And I've seen fields having greater potentals for other applicas like the copy/paste, if you'd like to throw that in for services. Text members are not yet as for me seen working for these things up to Director 7, don't know for D8- D8.5.. Most of the mentioned applicas are linked to each other and all must go joined interacting into each others. And it works pretty well with fields. It makes it so much easier to change texts and pictures or even sounds, precisely as in a big Microsoft dictionary of which name I allready have forgotten ... Pretty easy to make such with external casts in cst/cxt-files aside in same root. +++++++++++++++++++++++++++++++++++++++++++++++++ Quoting Sharon Moeller <[EMAIL PROTECTED]>: > In a dictionary application, the user clicks on a word, thus a variable > called gLookup is populated with that word > > I am then swapping the definition sprite with that new word > > On mouseUp me > sprite(15).member = member gLookup > End > > The problem is when a definition isn't in the cast. How do I write the > error checking to compensate? ------------------------------------------------- FREE E-MAIL IN 1 MINUTE! - [EMAIL PROTECTED] - http://www.pc.nu [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
