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
PowerChurch Software


_______________________________________________
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/[email protected]
** 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