Scroll Line Into View in a Datagrid

Ray ray at linkit.com
Wed Sep 24 22:32:30 EDT 2014


Pete,

Now wait a minute.  I've sometimes gotten a bit confused with Livecode's 
terms.  When  l look at it in the properties palette it's a "group" with 
a "style" of "Table" which I can change to "Form" (but I don't).

But when I created it I dragged over a "Data Grid" as oposed to a "Basic 
Table Field" or a "Scrolling Field" for example.

So what is it?

On 9/24/2014 10:49 PM, Peter Haworth wrote:
> Hi Ray,
> So this is a datagrid form, not a table? Have to admit I'm not that
> familiar with dg forms so not sure what else to suggest, sorry.
>
> Pete
> lcSQL Software <http://www.lcsql.com>
> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
>
> On Wed, Sep 24, 2014 at 5:51 PM, Ray <ray at linkit.com> wrote:
>
>> Pete,
>>
>> Thanks for the response.  I've checked the it variable and I'm getting
>> "handled" returned, which I assume is good.  Regarding the line number,
>> I've definitely got over 20 lines of data in the grid. I do only have one
>> line of data for the first two columns with about 23 lines of data in the
>> third.  Do you think that could be the problem?
>>
>> Ray Horsley
>> LinkIt! Software
>>
>> On 9/24/2014 9:21 PM, Peter Haworth wrote:
>>
>>> Syntax looks good.  Couple of things you've probably already checked -
>>> what's in the "it" variable after dispatch (should be "handled"), and are
>>> you sure 20 is a valid line number.
>>>
>>> Pete
>>> lcSQL Software <http://www.lcsql.com>
>>> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and
>>> SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html>
>>>
>>>
>>> On Wed, Sep 24, 2014 at 4:29 PM, Ray <ray at linkit.com> wrote:
>>>
>>>   Has anybody had any luck with scrollLineIntoView?
>>>> I'm trying all kinds of variations in syntax of:
>>>>
>>>>       dispatch "scrollLineIntoView" to group "MyGroup" with 20
>>>>
>>>> but with no results and nothing in 'the result'
>>>>
>>>> Is there something else I need to to do prepare for this?
>>>>
>>>> ____________________________________________________________
>>>>
>>>> Note:  I'm not sure if this got posted earlier.  I can never get that
>>>> "receive your own posts" subscription option to work so please excuse me
>>>> if
>>>> this was already posted.
>>>>
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> 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
>>>>
>>>>   _______________________________________________
>>> use-livecode mailing list
>>> 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
>>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> 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
>>
> _______________________________________________
> use-livecode mailing list
> 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





More information about the use-livecode mailing list