` Printed Icetips Article

Icetips Article



Par2: Locator: entry found?
2002-10-05 -- Dennis Evans
 
> How can I check (which embed) if a locator value is found or not using
> a Locator Entry?

  If I understand what you are wanting then you could use the Reset method
of the locator, after the parent call.

  if (Self.Shadow = Self.FreeElement)
    match was found
 end

  The reset of the browse is already completed, the window has not yet been
refreshed, if the shadow (what the user entered) is equal to the free
element then a match was located.  If not equal the locator will still move
to the closest match.



Printed November 21, 2024, 1:34 pm
This article has been viewed/printed 35212 times.