how to get a list fleld whithout any hilitedLine (before user chooses one)
Phil Davis
revdev at pdslabs.net
Sat Mar 10 13:40:10 EST 2007
Hi André,
Try something like this:
on showField pFieldName
lock screen
show fld pFieldName
set the hilitedLines of fld pFieldName to empty
unlock screen
end showField
This might not work because showing the field may give the field the focus, and
that may trigger the hiliting of a line, thus undoing what 'set the
hilitedLines...' did. But 'set the hilitedLines of fld x to empty' does work.
Phil Davis
André.Bisseret wrote:
> Hello,
> I have fields set to « list behavior ». They are including phrases on
> different topics (one topic per field).
> These fields are hidden but the users can call them (one at a time) so
> that they be able to click on phrases to add them to, say, a «composing
> field».
>
> When these list fields appear, one of the lines is hilited.
> I am trying, for at least one hour now, to get rid of that without any
> success: I would like that when such a list field is shown, none of its
> lines be hilited.
>
> What’s the way to do that (if there is one) ?
> Thanks a lot in advance for any help
>
> Best regards from Grenoble
> André
More information about the use-livecode
mailing list