`
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() Printed December 3, 2024, 11:36 am This article has been viewed/printed 35343 times. |