how to get a list fleld whithout any hilitedLine (before user chooses one)
sarah.reichelt at gmail.com
Sun Mar 11 17:02:15 CDT 2007
If you set the traversalOn of the field to false, this avoids the
problem Phil mentions. It will also stop the field getting a hilite if
the stack is resumed with no other clickable field available.
On 3/11/07, Phil Davis <revdev at pdslabs.net> wrote:
> 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.
More information about the use-livecode