Nope - the "pop-up" is simply a Container on the Form that I make Visible...

-K-

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

Is the popup messagebox a modal form ?

If so, in the messagebox form.INIT() method
Add 

this.txtSearch.setfocus()

HTH,
Kent

-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Kurt
Sent: Thursday, March 21, 2013 1:00 PM
To: [email protected]
Subject: RE: How to STOP Read-Only Msg Display?

And - Nope - just tried the NoDefault command - and its Definitely NOT what
I want. It stopped the usage of regular nav. keys too!

I want standard Nav. keys to work - like up & down arrows, Pg Up, etc. But,
other key strokes - like Letters - those I want to capture and send it to
the routine that does this search.

-K-


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

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


[excessive quoting removed by server]

_______________________________________________
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/4BDC3BFAD44640DE9E9FCE1AEC5DED6F@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