Find oddity?

dunbarx at aol.com dunbarx at aol.com
Wed Jan 18 21:16:59 EST 2012


Peter.


I am the user.


It isn't hidden fields with strange properties that I cannot see, it is naked ones I can. I made a new stack, placed one field and one button. Put some text into the field.


Are you seeing continued find boxes? I am using LC 4.5.3.


Just playing around:


on mouseup
repeat 5
  find myText
  wait 30 
end repeat
end mouseup


"Find" box winks in and out.


Craig Newman



-----Original Message-----
From: Peter M. Brigham, MD <pmbrig at gmail.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Wed, Jan 18, 2012 1:19 pm
Subject: Re: Find oddity?


The old HC behavior is what I see on LC. However, if the text string is in a 
hidden field for which the dontsearch property = false, you will not see the 
find box in that field, then if you find again and the next find is in a 
searchable visible field, the box will appear again. You may have to set the 
dontsearch property of various fields in the mouseup handler before you perform 
the find in order not to confuse things for the user.

-- Peter

Peter M. Brigham
pmbrig at gmail.com
http://home.comcast.net/~pmbrig

On Jan 18, 2012, at 5:20 PM, DunbarX at aol.com wrote:

> 
> 
> In good ol' HC, if you have a field somewhere with text (someText) in it, and 
a button that contains:
> 
> 
> on mouseUp
>  find someText
> end mouseUp
> 
> 
> The text is found, and a box is drawn around it. If you press the button again
> the box disappears for a moment, and then is redrawn. This is known as finding 
once more.
> 
> 
> In LC, however, the second find makes the box disappear altogether, You can 
get it back if you find
> for a third time. (or fifth, etc.)
> 
> 
> Annoying, unless it is just me and mine.
> 
> 
> Craig Newman
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

 



More information about the use-livecode mailing list