[datagrid] how to search and show the result?

zryip theSlug zryip.theslug at gmail.com
Sun Aug 22 10:01:44 EDT 2010


On Sun, Aug 22, 2010 at 3:45 AM, Robert Mann <rman at free.fr> wrote:
>
>
> Trevor DeVore wrote:
>>
>> dispatch "FindLine" to group "DataGrid" with "MyColumn", "String To
>> Find"
>> put the result into theLine
>>
>
> Coming back to it... ok this gives me the line, then I can scroll that line
> in view.
>
> but when there are several occurences of the searchedString, the result
> outputs only the first line.
>
> Is there a way to get all lines??? Thanks
>
> [trying to implement a dgFind function that works like the runrev find
> (showing with a rectangle the foundChunk and bouncing to next occurence... )
> if anybody has it already.. share it on revOnline please!]

Hi Robert,

The FindLine command only returns the number of the first line found as result.
To return all the lines found, you have to develop your own find command.


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



More information about the Use-livecode mailing list