Kurt wrote on 2013-03-21: 
>  I'm sure there must be an easy solution to this. And, I even searched
online
>  VFP help for "Read-Only" - but, the list was WAY Too long to go thru it
all.
>  I even looked at SET commands - and maybe the MESSAGE WINDOW one might
work
>  - but, not sure - and was wondering what others would do.
> 
> 
>  I have a Grid - its Read-Only. But, while they are moving thru the Grid -
I
>  pop-up a Text box in lower left corner to allow them to do a quick search
>  and enter in characters. But, it only pops-up when they type characters
that
>  are NOT regular nav. keys like up arrow, Pg Dn, etc.
> 
> 
>  And - the search box does come up - but, focus stays on Grid - and the
>  message keeps coming up in upper right about "Control is Read-only".
> 
> 
>  How can I STOP that from being displayed.
> 
> 
>  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,

If I'm understanding right, you need to issue a NODEFAULT command when you
are handling the KeyPress and launching your form.

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