how to get a list fleld whithout any hilitedLine (before user chooses one)
revdev at pdslabs.net
Sat Mar 10 12:40:10 CST 2007
Try something like this:
on showField pFieldName
show fld pFieldName
set the hilitedLines of fld pFieldName to empty
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.
> 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
> 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
More information about the use-livecode