colum in tabflds

yves COPPE yvescoppe at skynet.be
Mon Jan 14 06:18:01 EST 2002


Hello,

thanks Geoff for your help.

Here is my script. It can help other people :

When the user click a column in a tab list fld, this handler gives 
the number of the clicked column :

   put item 1 of the rect of me into HFldLoc
   put the mouseH-HFldLoc into myHpos
   put the tabStops of me&","&myHpos into theItemlist
   sort items of theItemlist numeric
   put itemOffset(myHpos, theItemlist) into nrCol


nrCol gives the clicked columnŠ

Thank you.
-- 



More information about the use-livecode mailing list