` Printed Icetips Article

Icetips Article



Par2: Upper casing incremental locator
2007-01-10 -- Carl Barnes
 
Look in the ABC Browse Locator code for TakeKey. The locator is made from 
KEYCHAR() grabbed in Alert event so the UPR never applies...except maybe for an 
Entry Locator. 

The TakeKey method is Virtual so maybe in the Locaztor.TakeKey before the PARENT call do
if keychar()=keycode() then SetKeyCode(Val(Upper(chr(KeyChar()))). 
Not sure about that code

Maarten notes:

In the TakeKey method of the locator class, before the parent:
  SetKeyChar(VAL(UPPER(CHR(KeyChar()))))



Printed April 28, 2024, 12:51 pm
This article has been viewed/printed 35115 times.