At 11:01 am +0200 9/10/01, Domi wrote: ><< go to card "name" >> doesn't seem to function! >MC 2.4b4 > >I made sort of of "Calepin" (note pad) with MC notes. >It is very simple, with a "title" field and a "text" field. >I added an "Index" substack, in which I copy the titles, one by line. >That works. > >Now I want to go back to the choosen card: >if I want to go to a card by its name, it doesn't work. >But that works if I go to a card by its number! >The card is given a name "on opencard", according to the title field. > >for instance, this works: > >on mouseUp > put word 2 of the selectedline into lacarte > go card lacarte of stack "Calepin MC" >end mouseUp > >but not; > >on mouseUp > put quote & the selectedtext & quote into lacarte > go card lacarte of stack "Calepin MC" >end mouseup > >I added the "quotes", but that didnt' helped
I don't think you want to add the quotes. But to check whether it's a navigation problem or a problem with getting the text from the index field, first see what is in the lacarte variable. on mouseUp put quote & the selectedtext & quote into lacarte put lacarte ##DEBUG CHECK end mouseup If the message box doesn't show an appropriate card name, then there's something wrong with the way you're getting the text from the field. (Does the button you click on have the traversalOn property set? This would remove the selection from the field when you click on it. Try turning it off.) If the text in the message box seems appropriate, then check that you haven't changed the card name somehow. >QUID? Payment not necessary. <U.K. joke. :)> Cheers Dave Cragg Archives: http://www.mail-archive.com/[email protected]/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.
