Page 1 of 2
The hilited line
Posted: Sun Dec 11, 2016 10:20 pm
by RossG
I have three scrolling fields.
When I click on a line in field 1 then on
a line in field 2 the line in field 1 remains
hilited which seems to cause some confusion
in the code to put the hilited line into another
field.
The Dictionary says that the hilitedLine is a
comma-delimited list of numbers so I've tried
some code to put "" or "empty" into it to
turn off the hilite of field 1 but so far no
acceptable solution.
Suggestions welcome.
Re: The hilited line
Posted: Sun Dec 11, 2016 11:17 pm
by [-hh]
It's a property, so this should work:
Code: Select all
set hilitedLines of fld 1 to empty
Re: The hilited line
Posted: Mon Dec 12, 2016 12:59 am
by RossG
Thanks hh. That works.
Re: The hilited line
Posted: Mon Dec 12, 2016 1:38 am
by dunbarx
What Hermann said.
But he also said something else, perhaps a little too offhandedly.
You tried to use the "hilitedLine " as a container when you tried to put empty into it. Rather, It is a property, and you must "set" it to empty..
Craig Newman
Re: The hilited line
Posted: Mon Dec 12, 2016 2:44 am
by RossG
Yes, and to compound my error I used
"hilitedLine" rather that "hilitedLines"!
Re: The hilited line
Posted: Mon Dec 12, 2016 5:51 pm
by jacque
Since the hilitedline is one or more integers, it is typical to set it to zero, though empty works.
"Hilitedline" and "hilitedlines" can be used interchangeably, BTW, so no error Hermann.
Re: The hilited line
Posted: Mon Dec 12, 2016 6:43 pm
by dunbarx
Jacque.
Herman does not make errors. Nor did Ross, as you said.. I do.
Craig
Re: The hilited line
Posted: Mon Dec 12, 2016 8:20 pm
by [-hh]
Craig wrote:Herman does not make errors. Nor did Ross, as you said.. I do.
Yes, my highly regarded teacher. But the only error I know is the missing last "n" in "Herman"

Re: The hilited line
Posted: Mon Dec 12, 2016 8:36 pm
by dunbarx
Hermann.
See? I told you. I am error prone.
Craig
Re: The hilited line
Posted: Mon Dec 12, 2016 9:56 pm
by jacque
The thing about German is that if a word isn't long enough, they just add more letters or whole words. The thing about American English is that they subtract letters and words.

Re: The hilited line
Posted: Mon Dec 12, 2016 11:13 pm
by dunbarx
We could not play Scrabble at all if it were not so.
Re: The hilited line
Posted: Mon Dec 12, 2016 11:42 pm
by RossG
One word of German that stuck in my mind
from an attempt to learn another language
was "strassenbarnhaltensteller" (the spelling
is just from memory and is no doubt wrong)
but it means "tram stop".
Re: The hilited line
Posted: Wed Dec 14, 2016 8:39 pm
by mwieder
Re: The hilited line
Posted: Wed Dec 14, 2016 9:36 pm
by RossG
Translation please.
Does it mean "Vacuum Cleaners sold here"?
Re: The hilited line
Posted: Thu Dec 15, 2016 12:13 am
by Klaus
RossG wrote:Does it mean "Vacuum Cleaners sold here"?
No!
