Scrolling List Field/Table

Peter M. Brigham pmbrig at gmail.com
Sun Nov 18 09:39:02 EST 2012


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 field even if it has no scrollbars.

-- Peter

Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig

On Nov 18, 2012, at 9: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 simulate the right justification.. maybe put the
> text into a hidden field, get its formatted width then somehow position it
> up against the tab on the right.  I'm not using a monospaced font but
> perhaps that could be made to work somehow.
> 
> Pete
> lcSQL Software <http://www.lcsql.com>
> 
> 
> 
> On Sat, Nov 17, 2012 at 5:46 PM, J. Landman Gay <jacque at hyperactivesw.com>wrote:
> 
>> 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 method since the textALign property applies
>>> to the whole line.
>>> 
>>> May be I need to look at the more complex, arraybased, styledText
>>> property?
>>> 
>> 
>> The array is just a different representation of what you can do with the
>> individual commands. But you're right, alignment is paragraph-only, you
>> can't apply it to tabs. Sigh. And here I'd almost converted you. :(
>> 
>> Back in the olden days when we had no other choice, we'd use a monospaced
>> font and add spaces to simulate column alignment. That's not so impressive
>> any more, though in some cases it still works.
>> 
>> 
>> --
>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>> HyperActive Software           |     http://www.hyperactivesw.com
>> 
>> ______________________________**_________________
>> 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<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