Code: Select all
On mouseUp
if the controlKey is up then
put last word of (the value of the clickline) into numba
go to card numba of stack "AllSingles"
else
put word 2 of the clickline into Lin
if the backcolor of me = 255,255,255 then
set the backcolor of line Lin of me to 255,0,150
else
set the backcolor of me to 255,255,255
end if
end if
end mouseUp
However, this is not what happens.
The line highlights, but a subsequent click does not unhighlight it.
When I query the field, through the message box …
> put the backcolor of line 2 of field "Last Highest"
it returns the word 'mixed'
In fact, with the line highlighted from above, when I ask the message box
put the backcolor of field "LastHighest"
it returns 255,255,255.
I cannot seem to script the field to accept the 'mixed' status as a case for reverting to a white background.
Any suggestions, please?