Re: Scrolling List Field/Table

2012-11-19 Thread J. Landman Gay
On 11/19/12 12:54 PM, Peter Haworth wrote: I'm almost afraid to say this but itlooks like this is pretty easy to do with variable spaced fonts too. I did a simple test with an input field, an output scrolling list field, and a button with the following code: on mouseUp put the hilitedLine o

Re: Scrolling List Field/Table

2012-11-19 Thread Peter Haworth
I'm almost afraid to say this but itlooks like this is pretty easy to do with variable spaced fonts too. I did a simple test with an input field, an output scrolling list field, and a button with the following code: on mouseUp put the hilitedLine of field "Output" into tLine put the formatt

Re: Scrolling List Field/Table

2012-11-19 Thread J. Landman Gay
On 11/18/12 8:03 AM, Peter Haworth wrote: Hi Jacque, I'm converted! Just not quite 100% there yet. If I'm not mistaken, I have the same right justification problem if I use a standard table. I'd like to use the para style properties because no scrolling issues that way. I wonder if I can simul

Re: Scrolling List Field/Table

2012-11-18 Thread Peter M. Brigham
Maybe an extra right-justified field covering the column in question, set to scroll with the main field. There have been a number of posting in the past re getting two fields to scroll in unison, see the archives. More complicated but quite do-able. Keep in mind that you can set the scroll of an

Re: Scrolling List Field/Table

2012-11-18 Thread Peter Haworth
Hi Jacque, I'm converted! Just not quite 100% there yet. If I'm not mistaken, I have the same right justification problem if I use a standard table. I'd like to use the para style properties because no scrolling issues that way. I wonder if I can simulate the right justification.. maybe put the

Re: Scrolling List Field/Table

2012-11-17 Thread J. Landman Gay
On 11/17/12 6:11 PM, Peter Haworth wrote: Cool,that works well for what I want to do. I have one remaining issue though. I have set tab stops and the xGrid properties to make it look like a table, but I need one of the columns to be right-justified and I don;t think I can do that with this meth

Re: Scrolling List Field/Table

2012-11-17 Thread Peter Haworth
Cool,that works well for what I want to do. I have one remaining issue though. I have set tab stops and the xGrid properties to make it look like a table, but I need one of the columns to be right-justified and I don;t think I can do that with this method since the textALign property applies to t

Re: Scrolling List Field/Table

2012-11-17 Thread J. Landman Gay
On 11/16/12 11:24 AM, Thomas McGrath III wrote: Jac, Now this would make a great how to for people new to RR and for people new to the 'new' text attributes! Maybe a lesson? Maybe a Newsletter article? That's a good idea. I won't have time for a while yet, but when things calm down I might d

Re: Scrolling List Field/Table

2012-11-17 Thread J. Landman Gay
On 11/16/12 10:27 PM, Peter Haworth wrote: They're pretty simple tables, single line rows, 3 or 4 columns. I'll play around with the new stuff. So is the generic format something like: set the textalign of line 3 of filed "xyz" to "right". Yup, that's all there is to it. Here's what I did t

Re: Scrolling List Field/Table

2012-11-16 Thread Peter Haworth
They're pretty simple tables, single line rows, 3 or 4 columns. I'll play around with the new stuff. So is the generic format something like: set the textalign of line 3 of filed "xyz" to "right". Pete lcSQL Software On Thu, Nov 15, 2012 at 7:17 PM, J. Landman Gay wrot

Re: Scrolling List Field/Table

2012-11-16 Thread Robert Sneidar
Isn't that rather like wanting an eyeball that contains it's own head? ;-) Bob On Nov 15, 2012, at 1:18 PM, Peter Haworth wrote: > I would like to have a scrolling list field that includes a table control > within it. ___ use-livecode mailing list

Re: Scrolling List Field/Table

2012-11-16 Thread Thomas McGrath III
Jac, Now this would make a great how to for people new to RR and for people new to the 'new' text attributes! Maybe a lesson? Maybe a Newsletter article? Just saying… -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Nov 15, 2012, at 10:17 PM, J. Landman Gay wrote: > E

Re: Scrolling List Field/Table

2012-11-15 Thread J. Landman Gay
On 11/15/12 8:27 PM, Peter Haworth wrote: Well, I guess understanding the new paragraph features is going to take a while. Not even sure what a paragraph is in the context of a scrolling list field - is every line a paragraph? Also not sure if I can replicate a table exactly since I want to have

Re: Scrolling List Field/Table

2012-11-15 Thread Peter Haworth
Well, I guess understanding the new paragraph features is going to take a while. Not even sure what a paragraph is in the context of a scrolling list field - is every line a paragraph? Also not sure if I can replicate a table exactly since I want to have the ability to scroll vertically. For now,

Re: Scrolling List Field/Table

2012-11-15 Thread Peter Haworth
That sounds promising! I'll check it out - somewhere in the release notes I assume. Pete lcSQL Software On Thu, Nov 15, 2012 at 3:44 PM, J. Landman Gay wrote: > On 11/15/12 5:18 PM, Peter Haworth wrote: > >> I would like to have a scrolling list field that includes a tab

Re: Scrolling List Field/Table

2012-11-15 Thread J. Landman Gay
On 11/15/12 5:18 PM, Peter Haworth wrote: I would like to have a scrolling list field that includes a table control within it. The challenge is to have the table field scroll when the list scrolls. Seems like the new paragraph features would be handy here. You can simulate a table with them a

Scrolling List Field/Table

2012-11-15 Thread Peter Haworth
I would like to have a scrolling list field that includes a table control within it. The challenge is to have the table field scroll when the list scrolls. I have a scrollbarDrag handler that adds the newposition parameter to the top and bottom items of the table's rectangle. That does move the