That seems strange to me - even if it IS True. I figured that the KeyPress
was just looking for Keystrokes in General - not being tied to anything like
a When or a Valid. Are U Sure about this? I guess I could try using that
ASTACKINFO() thing to prove it to myself - but, it just doesn't seem
obvious...

-K-

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Tracy
Pearson
Sent: Thursday, March 21, 2013 12:28 PM
To: [email protected]
Subject: RE: How to STOP Read-Only Msg Display?

Kurt wrote on 2013-03-21: 
> 
>  Also - in the KeyPress event in the data on the Grid - I am looking at
the
>  Keys being pressed - and its where I initiate that popup text box for
>  searching. Although, I call a Method from the KeyPress - and in the
Method I
>  attempted to SetFocus to that Search Text Box - but, needless to say - I
got
>  an Error saying I can NOT use the SetFocus command from within a When,
>  Valid, RangeHigh or RangeLow event. Which - in my case - I NOT calling it
>  from ANY Of those - as it's a Keypress & Method call. So - if I can
somehow
>  Set the Focus to that TextBox - then the Read-Only message display should
>  NOT be a problem.
> 
> 
>  So - I appreciate any help.
> 
> 
>  Thanks,
>  
>  -K-
> 

Kurt,

The KeyPress event happens during one of the events ( When, Valid, RangeHigh
or RangeLow ). 
Meaning if you use ASTACKINFO() you would see one of these in the call
stack. This is why you receive the error.


Tracy Pearson


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/9F04600A2B3A4BBE9C783EF81D577B2D@Programming2
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to