DataGrid question simple?

Shao Sean shaosean at wehostmacs.com
Thu May 7 14:26:12 EDT 2009


I included this type of code in the group script of the data grid  
object (group "Schema" in your case)

on mouseUp
   local theLine
   local theDataA

   put the dgHilitedLines of group "Schema" into theLine
   put the dgDataOfLine[theLine] of group "Schema" into theDataA

   put theDataA["Field Name"] into field "tFieldName"
   put theDataA["Field Type"] into field "tFieldType"
   put theDataA["Field ID"]   into field "tFieldID"
end mouseUp



More information about the use-livecode mailing list