Find the item a user clicked on...

Ton Kuypers tkuypers at pandora.be
Wed Nov 9 16:47:18 EST 2005


:-)))

Eric, thanks!!!

I've never used the link-stuff and had no idea where to start, but  
you got me going, I've solved the challenge thanks to you!

many thanks again,

Ton.


On 9-nov-05, at 22:29, Eric Chatonet wrote:

> Hi Ton,
>
> If I understand correctly:
> Your headers are the first line of your field and not buttons or  
> something else placed above the field?
> If it's the case, you can:
>
> 1. Set the style of each header to "link"
> 2. Set the underlineLinks property of your stack to false
> 3. Set the different link colors in an appropriate way if needed
>
> Then the kinks do not appear but do exist and you just need:
>
> on linkClicked pLink
>   <do whatever with pLink>
> end linkClicked
>
> pLink mirrors always the complete header.
>
> Not sure that is exactly your problem ;-)
>
> Best Regards from Paris,
>
> Eric Chatonet.
>
> Le 9 nov. 05 à 21:25, Ton Kuypers a écrit :
>
>
>> I have a small problem, which probably someone has solved a long  
>> time ago...
>>
>> I have a header above a field with columns of data.
>> The amount of columns are different each time, the header above  
>> the field will differ also each time.
>>
>> I now would like to sort the items in the field, when a user  
>> clicks on one of the words in the header, but how do I know what  
>> item the user clicked on?
>> I only get the ClickChunk or the ClickText, but who has a clever  
>> routine to get the item a user clicked on?
>>
>> The titles in the header are separated by tabs and can consist of  
>> more then one word each.
>>
>> Any help is welcome :-)
>>
>>
>> Warm regards,
>>
>
> ----------------------------------------------------------------
> So Smart Software
>
> For institutions, companies and associations
> Built-to-order applications: management, multimedia, internet, etc.
> Windows, Mac OS and Linux... With the French touch
>
> Free plugins and tutorials on my website
> ----------------------------------------------------------------
> Web site        http://www.sosmartsoftware.com/
> Email        eric.chatonet at sosmartsoftware.com/
> Phone        33 (0)1 43 31 77 62
> Mobile        33 (0)6 20 74 50 86
> ----------------------------------------------------------------
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>




More information about the use-livecode mailing list