On Thu, Dec 23, 2010 at 6:59 PM, David Bovill <[email protected]> wrote:
> I can do this with a table header, but there seems to be no easy way to find
> out the number of the column - I can do it by defining the behavior of a
> column template - then work things out using the templates name or a
> property I manually define - but am wandering if there is a built in way to
> do this?
>
> ColumnControlOfIndex (pColumnName, pIndex)

Hi David,

In the script of the datagrid group:

on mouseUp
   put the dgColumn of the dgDataControl of the target
end mouseUp


Regards,
-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to