Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
Back to article list Search Articles Add Comment Printer friendly Direct link Par2: Clearing locator 2000-03-03 -- Josh Landin Assuming you are using ABC this is an easy way of getting your results. Goto
the Source of the Browse procedure and search for:
Locator.TakeKey PROCEDURE
Inside that TakeKey method, right before it RETURNs you can input the
following code:
?locatorstr{PROP:TEXT} = clip(SELF.shadow)
(where '?locatorstr' is your screen string for displaying the locator field)
That'll take care of it. Should look like this:
ReturnValue =PARENT.TakeKey()
! [Priority 7500]
!---------------grey edge------------------------- ;-)
?locatorstr{PROP:TEXT} = clip(SELF.shadow)
!---------------grey edge------------------------- ;-)
! End of "Locator Method Executable Code Section"
RETURN ReturnValue
Keep in mind that if you add more locators to the same browse box (ie:
Conditional locators) then you must embed the same line of code into their
TakeKey methods.
As for clearing it every 7 seconds, you can use a timer on the window to
call one of the Locator methods. Possibly Locator.Set() or Locator.Reset()
Today is November 23, 2024, 2:13 am This article has been viewed 35337 times.
|
|