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
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 bet
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
I replied in the other thread as well, but:
function removeLines lineList,S
put 0 into lineCounter
split lineList with comma as set
repeat for each line L in S
add 1 to lineCounter
if lineList[lineCounter] then next repeat
put L & cr after R
end repeat
return char
John-
Sunday, October 26, 2014, 1:22:37 PM, you wrote:
> I had trouble with that too. Most people
> probably do. If you are deleting a bunch
> of lines say that are 5 thru 38 you can
> delete line 5 and then keep deleting line
> 5 until you have deleted enough lines.
LOL. Quite true. I never t
I wish I wasn't so dense.
> Larry
>
> - Original Message - From: "Terry Judd"
> To: "How to use LiveCode"
> Sent: Sunday, October 26, 2014 4:35 AM
> Subject: Re: hilitedline
>
>
> Larry - you need to delete the lines in reverse
Thanks Terry,
Sometimes I wish I wasn't so dense.
Larry
- Original Message -
From: "Terry Judd"
To: "How to use LiveCode"
Sent: Sunday, October 26, 2014 4:35 AM
Subject: Re: hilitedline
Larry - you need to delete the lines in reverse orderŠ
put the hilited
14 7:58 pm, "la...@significantplanet.org"
wrote:
>I have the following script in a button:
>
>on mouseUp
>
>put the hilitedline of field "mySelects" into myDelete
>
>repeat for each item L in myDelete
>
>delete line L of field "mySelects"
>
>end
I have the following script in a button:
on mouseUp
put the hilitedline of field "mySelects" into myDelete
repeat for each item L in myDelete
delete line L of field "mySelects"
end repeat
end mouseUp
If the hilitedlines of the field are, say, 1,4,7 then it will delete
On 6/19/13 2:02 PM, Paul D. DeRocco wrote:
This turned out to be a dumb cockpit error. I had misspelled the property
name "hililtedLine", which is very hard to see in the proportional spaced
font that the IDE uses to display these things. It's working as expected
now, setting the property in the
This turned out to be a dumb cockpit error. I had misspelled the property
name "hililtedLine", which is very hard to see in the proportional spaced
font that the IDE uses to display these things. It's working as expected
now, setting the property in the preOpenStack handler.
--
Ciao,
substack "bar", I put a field "foo" with several lines of text
setting the lockText to true and listBehavior to true.
the script of the field "foo" is :
on selectionChanged
global gLineNum,
--
put the hilitedLine of me into gLineNum
end selectionChanged
matching line in a variable, or "empty" if there is no match, and then do
set the hilitedLine of field "foo" of stack "bar" to n
It does bupkis; no matter what, the first line remains selected. If I set a
breakpoint on this line, and open the stack manually (i.e
e LiveCode
> Subject: Re: the hilitedLine of list field isn't highlighted
>
> On 6/6/11 12:23 PM, Slava Paperno wrote:
> > Jacqueline,
> >
> > You're responding to "email script" with obvious goofs, sorry--but a
> little
> > later I posted a l
one on the list confirmed that the demo
fails the same way on his Mac. Does it fail for you?
Yes, your example fails (Mac). I suspect that "focus" isn't actually
activating the field. This works:
on mouseup
focus on fld "listfield"
select line (the hilitedline of
M
> To: How to use LiveCode
> Subject: Re: the hilitedLine of list field isn't highlighted
>
> On 6/5/11 12:19 AM, Slava Paperno wrote:
> > I have a list field ("MyListField") with a rawKeyDown handler that
> tells me
> > which line is the hilitedLine after
On 6/5/11 12:19 AM, Slava Paperno wrote:
I have a list field ("MyListField") with a rawKeyDown handler that tells me
which line is the hilitedLine after every key press.
on rawKeyDown parKey
put return& the hilitedLine of me after msg
pass rawKeyDown parKey
end of rawKeyDow
I have a list field ("MyListField") with a rawKeyDown handler that tells me
which line is the hilitedLine after every key press.
on rawKeyDown parKey
put return & the hilitedLine of me after msg
pass rawKeyDown parKey
end of rawKeyDown
When I press the Up Arrow and Down Arrow
18 matches
Mail list logo