Bonjour Domi,

>>...
>> 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

Try this: If the selectedtext is in a list-field, you should
add more info for MetaCard to make it work.

...
put the selectedtext of field "le_list-field" into lacarte
## some error-checking is always helpful...
if there is a card lacarte then
   go cd lacarte
else
   beep  ## to have some acoustic feedback :-)
   answer "Merde alors!!! Cette carte n'existe pas du tout !!!"
## optional ;-)
end if
...

No quotes necessary, definitively !!!

Now if it beeps, there is NO card with that name, definitively !!!

If the selectedtext is NOT in a list-field, check the answer of Dave.
In that case the selection may somehow be gone, so "the selectedtext"
will be empty !!!

>...
> 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
> 
!!!!!!!!!!!!!!!!!!!!!!! This is the important part !!!!!!!!!!!!!!!!!!!!!!!!
> 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.
!!!!!!!!!!!!!!!!!!!!!!! This is the important part !!!!!!!!!!!!!!!!!!!!!!!!
> 
>> QUID?
> Payment not necessary. <U.K. joke. :)>

In case you are not familiar with the dark, english humour:

QUID is "bad english slang" for one british pound ;-)

By the way, what do you want to express with QUID (quoi :-) ???


Hope this helps.
If not, feel free to ask more questions, until we solved your problem.

And be sure, we will !!!! :-D


A bientot

Klaus Major <[EMAIL PROTECTED]>
MetaScape GmbH


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.

Reply via email to