Hi All,

The LiveCode_Data_Grid.pdf manual states:
  “You need to keep in mind that GetDataOfLine (and GetDataOfIndex) is a 
function defined for a Data Grid. That means that the Data Grid group MUST be 
in the message path. If the Data Grid group is not in the message path you 
would need to use the call command.”
Would anyone out there be able to provide an example of this? I need to be able 
to get the data from a line in a Data Grid form when clicking on a button that 
is not part of the Data Grid...

I know how to get the data when the Data Grid group is in the path as follows:


  on mouseUp
     put the dgHilitedLines of me into theLine
     put GetDataOfLine(theLine,"FilePath") into thePic
     launch document thePic   
  end mouseUp

Thanks,

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

Reply via email to