Home > Archive > FoxPro Help and Support > July 2005 > CTRL-F in Editbox









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author CTRL-F in Editbox
Craig Farrel

2005-07-12, 7:27 am

I have a simple right click menu that has a CTRL-F (Find) on it (along with
cut/copy & paste), using the _med_find. Right Clicking in an Editbox, it
successfully opens the find menu in the distributed app, BUT the FIND NEXT
and REPLACE buttons are disabled.

Any Ideas?

Thanks in advance.
Fred Taylor

2005-07-12, 11:24 am

If you're using your own buttons, you must have code that disables them. If
you're talking about menu pads, you'll need to use the SYS(1500) calls to do
the menu functions, not the same way a menu is normally done.

--
Fred
Microsoft Visual FoxPro MVP


"Craig Farrel" < CraigFarrel@discussi
ons.microsoft.com> wrote in message
news:2C286362-3557-4601-85CC- 52B0CA8F21BA@microso
ft.com...
>I have a simple right click menu that has a CTRL-F (Find) on it (along with
> cut/copy & paste), using the _med_find. Right Clicking in an Editbox, it
> successfully opens the find menu in the distributed app, BUT the FIND NEXT
> and REPLACE buttons are disabled.
>
> Any Ideas?
>
> Thanks in advance.



Craig Farrel

2005-07-12, 8:25 pm

Its a menu pad, unfortunatly, I have to turn off sys menu at this stage of
the app, so it appears using the sys(1500) will not work. I guess I am back
to writing my own FIND routine. I guess I am just miffed as to why some CTRL
keys work in a menu pad and others do not. I use a simple BAR # and _MED_CUT,
_MED_COPY, etc. to work the other commands just fine.

Thanks again.

"Fred Taylor" wrote:

> If you're using your own buttons, you must have code that disables them. If
> you're talking about menu pads, you'll need to use the SYS(1500) calls to do
> the menu functions, not the same way a menu is normally done.
>
> --
> Fred
> Microsoft Visual FoxPro MVP
>
>
> "Craig Farrel" < CraigFarrel@discussi
ons.microsoft.com> wrote in message
> news:2C286362-3557-4601-85CC- 52B0CA8F21BA@microso
ft.com...
>
>
>

Fred Taylor

2005-07-12, 8:25 pm

I don't think SYS(1500) is effected by the menu being active or not.

--
Fred
Microsoft Visual FoxPro MVP


"Craig Farrel" < CraigFarrel@discussi
ons.microsoft.com> wrote in message
news:BB4F1F91-13D3-4FEB-A1E7- 4A14B6ABD889@microso
ft.com...[color=darkred]
> Its a menu pad, unfortunatly, I have to turn off sys menu at this stage of
> the app, so it appears using the sys(1500) will not work. I guess I am
> back
> to writing my own FIND routine. I guess I am just miffed as to why some
> CTRL
> keys work in a menu pad and others do not. I use a simple BAR # and
> _MED_CUT,
> _MED_COPY, etc. to work the other commands just fine.
>
> Thanks again.
>
> "Fred Taylor" wrote:
>


Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com