I usually do also a card check on mouseup put the selectedtext of fld "index" into x if there is a card x then go to card x else answer "No such card" end mouseup
variations... go to card x if the result is not empty then answer it & return & "card:" && X > -----Original Message----- > From: Dave Cragg [mailto:[EMAIL PROTECTED]] > Sent: 09 October 2001 12:37 > To: [EMAIL PROTECTED] > Subject: Re: Go to card by its name? > > > 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/metacard@lists.runrev.com/ > Info: http://www.xworlds.com/metacard/mailinglist.htm > Please send bug reports to <[EMAIL PROTECTED]>, not this list. > Visit us at http://www.clearstream.com IMPORTANT MESSAGE Internet communications are not secure and therefore Clearstream International does not accept legal responsibility for the contents of this message. The information contained in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be the views of Clearstream International or of any of its affiliates or subsidiaries. END OF DISCLAIMER Archives: http://www.mail-archive.com/metacard@lists.runrev.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to <[EMAIL PROTECTED]>, not this list.