Or you could use Altuit's wonderful altFieldHeader plugin (http:// www.altuit.com) which automates this whole process quite neatly.

On Nov 9, 2005, at 1:29 PM, 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        [EMAIL PROTECTED]/
Phone        33 (0)1 43 31 77 62
Mobile        33 (0)6 20 74 50 86
----------------------------------------------------------------

_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
From http://www.shafermediastore.com/tech_main.html


_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to