Re: HilitedLine of list field lost when unlocked field selected

2018-05-31 Thread dunbarx via use-livecode
Hi.

I am in v. 8.1.9 and do not see this in either locked or unlocked fields. I
made three, clicked on a line in each, which hilited correctly, and then
both tabbed and clicked all morning through them. Each hilited line stuck
unless I changed it.

Craig



--
Sent from: 
http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html

___
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: HilitedLine of list field lost when unlocked field selected

2018-05-31 Thread Bob Sneidar via use-livecode
Hi David. 

Not sure about your issue losing the selection when tabbing between controls. 
However many have instituted a method of setting the imageSource of the first 
character of a line of a field to mark a hilited line. Since things like check 
marks and bullets are not consistent in fonts between platforms, this is the 
workaround. I usually prepend a space and a tab on each line, then set the 
tabstops of the field to accomodate the graphic, so that the actual text in 
each line remain letf-aligned. It works pretty good. 

Otherwise, why not use a datagrid? Then you can just get the dgHilitedLine of 
the datagrid, then the dgDataOfLine [it] for your value. 

Bob S


> On May 30, 2018, at 18:29 , David Epstein via use-livecode 
>  wrote:
> 
> This seems like a problem that I’ve solved before, but I can’t recall how.  
> With a line hilited in a locked list-behavior-true field, I can use the mouse 
> to select text in any of a number of unlocked fields without disturbing my 
> list’s hilite.  But if I use the tabKey to move the insertion point or 
> selection from one unlocked field to the next, the list hilite is lost.  How 
> can I preserve it?
> 
> Many thanks.
> David Epstein

___
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

HilitedLine of list field lost when unlocked field selected

2018-05-30 Thread David Epstein via use-livecode
This seems like a problem that I’ve solved before, but I can’t recall how.  
With a line hilited in a locked list-behavior-true field, I can use the mouse 
to select text in any of a number of unlocked fields without disturbing my 
list’s hilite.  But if I use the tabKey to move the insertion point or 
selection from one unlocked field to the next, the list hilite is lost.  How 
can I preserve it?

Many thanks.
David Epstein
___
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