Re: Scroll Line Into View in a Datagrid
Pete - thanks for the clarification. I definitely have a datagird table then, not a form. I'm going to experiment recreating similar datagrid tables from scratch to see if I can resolve these scrolling problems. I'll post something after doing so. Thanks, Ray Horsley LinkIt! Software On 9/25/2014 1:21 AM, Peter Haworth wrote: Datagrids come in 2 flavors, table and form. So you have a datagrid table not an LC basic table control. I asked about a form because of your comment about multiple lines. Normally a datagrid table has one line per row with a return character marking the end of a line. If you're trying to put multiple lines in a single datagrid row, I don't think you can do that. Pete lcSQL Software On Sep 24, 2014 7:32 PM, Ray r...@linkit.com wrote: 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 r...@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 r...@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@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@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@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@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Scroll Line Into View in a Datagrid
Pete - I wanted to get back with you since you were so kind to respond and shed some light on things. I've discovered [once again] that Livecode data grids are really complicated, convoluted things. I had set the behavior of the grid in question to a button whose script was a slightly altered version of the default button. This in turn broke the ability to scroll, either from a script or manually. Why? Who knows? I'm rebuilding the grid now from scratch and I'll come up with a work-around other than setting the grid's behavior. Thanks for your help! Ray Horsley LinkIt! Software On 9/25/2014 1:21 AM, Peter Haworth wrote: Datagrids come in 2 flavors, table and form. So you have a datagrid table not an LC basic table control. I asked about a form because of your comment about multiple lines. Normally a datagrid table has one line per row with a return character marking the end of a line. If you're trying to put multiple lines in a single datagrid row, I don't think you can do that. Pete lcSQL Software On Sep 24, 2014 7:32 PM, Ray r...@linkit.com wrote: 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 r...@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 r...@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@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@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@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@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Scroll Line Into View in a Datagrid
Ray - have you tried out Bernd's modTableField? It does quite a lot of what a datagrid table does for you, and its a lot simpler. .Jerry On Sep 25, 2014, at 8:41 AM, Ray r...@linkit.com wrote: Pete - I wanted to get back with you since you were so kind to respond and shed some light on things. I've discovered [once again] that Livecode data grids are really complicated, convoluted things. I had set the behavior of the grid in question to a button whose script was a slightly altered version of the default button. This in turn broke the ability to scroll, either from a script or manually. Why? Who knows? I'm rebuilding the grid now from scratch and I'll come up with a work-around other than setting the grid's behavior. Thanks for your help! Ray Horsley LinkIt! Software On 9/25/2014 1:21 AM, Peter Haworth wrote: Datagrids come in 2 flavors, table and form. So you have a datagrid table not an LC basic table control. I asked about a form because of your comment about multiple lines. Normally a datagrid table has one line per row with a return character marking the end of a line. If you're trying to put multiple lines in a single datagrid row, I don't think you can do that. Pete lcSQL Software On Sep 24, 2014 7:32 PM, Ray r...@linkit.com wrote: 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 r...@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 r...@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@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@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@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
Re: Scroll Line Into View in a Datagrid
+1 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 Thu, Sep 25, 2014 at 12:21 PM, Jerry Jensen j...@jhj.com wrote: Ray - have you tried out Bernd's modTableField? It does quite a lot of what a datagrid table does for you, and its a lot simpler. .Jerry On Sep 25, 2014, at 8:41 AM, Ray r...@linkit.com wrote: Pete - I wanted to get back with you since you were so kind to respond and shed some light on things. I've discovered [once again] that Livecode data grids are really complicated, convoluted things. I had set the behavior of the grid in question to a button whose script was a slightly altered version of the default button. This in turn broke the ability to scroll, either from a script or manually. Why? Who knows? I'm rebuilding the grid now from scratch and I'll come up with a work-around other than setting the grid's behavior. Thanks for your help! Ray Horsley LinkIt! Software On 9/25/2014 1:21 AM, Peter Haworth wrote: Datagrids come in 2 flavors, table and form. So you have a datagrid table not an LC basic table control. I asked about a form because of your comment about multiple lines. Normally a datagrid table has one line per row with a return character marking the end of a line. If you're trying to put multiple lines in a single datagrid row, I don't think you can do that. Pete lcSQL Software On Sep 24, 2014 7:32 PM, Ray r...@linkit.com wrote: 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 r...@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 r...@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@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@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your
Scroll Line Into View in a Datagrid
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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Scroll Line Into View in a Datagrid
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 r...@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Scroll Line Into View in a Datagrid
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 r...@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Scroll Line Into View in a Datagrid
Pete, One more weird thing. Even using the scroll bar I can only 'jump' to one extreme or the other. That is, when I drag the scroll bar even just a little bit down it immediately 'pops' all the data so the last line in it is at the top of the screen. Is there a way to set some sort of scale so scrolling actually works as expected? 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 r...@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Scroll Line Into View in a Datagrid
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 r...@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 r...@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@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Scroll Line Into View in a Datagrid
Pete - my mistake in calling it a grid. It actually is a Table. 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 r...@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 r...@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@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@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Scroll Line Into View in a Datagrid
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 r...@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 r...@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@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@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Scroll Line Into View in a Datagrid
Datagrids come in 2 flavors, table and form. So you have a datagrid table not an LC basic table control. I asked about a form because of your comment about multiple lines. Normally a datagrid table has one line per row with a return character marking the end of a line. If you're trying to put multiple lines in a single datagrid row, I don't think you can do that. Pete lcSQL Software On Sep 24, 2014 7:32 PM, Ray r...@linkit.com wrote: 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 r...@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 r...@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@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@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@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@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@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@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode