dgDataOfLine Verification

Terry Judd tsj at unimelb.edu.au
Tue Jan 31 14:35:31 EST 2012


On 01/02/2012, at 06:12 AM, Bob Sneidar wrote:

Hi all.

I was given to understand that the dgDataOfLine referenced the visible lines of a datagrid, so that if I scrolled to the bottom of a datagrid that had 8 visible lines, the dgDataOfLine[8] would give me the mast line of data. It seems this is not so, unless something has gone wrong in my datagrid. Instead I am getting the data from the 8th record not the last of 8 visible records.

What am I doing wrong? I will dig into this myself, but I am hoping for a quick "that's not the way to do it" from someone.

Bob

Bob - use getDataOfLine(8) to get the data for the 8th selected line irrespective of how the column data is sorted.

Terry...




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


Dr Terry Judd
Senior Lecturer in Medical Education
Medical Eduction Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne






More information about the use-livecode mailing list