Intellisense problem now solved. I changed the Foxuser file on the Win 7 machine to one from one of my XP machines - and the shortcuts are back.
Many thanks to everyone
thanks - Doug Hennings paper now downloaded (34 pages will take a bit of time to read)
meanwhile I'll try playing with the Foxcode table, tried re-installing already.
But I've found another problem now - trace doesn't work!
I'm not too bothered by security on this. I'm the only Foxpro...
Trying to use VFP 7 under Windows 7 to update an app. Problems!
VFP doesn't load intellisense any more so many of my shortcuts just don't work
a RUN command (specifically RUN "EXAMDIFF.EXE") just generates an error
Both are fine on my XP notebooks.
Is there a solution please?
>>I was not suggesting Win API :)<<
So far I'd always got away with simple keystrokes, just changing the few non-intuitive ones if the keycode clashed, but it's good not to have those limitation. The program also has to run on the on-call technician's netbook - slightly different keyboard...
Pass - don't think I'll need that thanks - think I can manage with what I've just learned - for which many thanks again.
The ^C / PgDn clash was the first (and I hope now last) time I'd met a problem with keystrokes - and I've been with Fox since before MS bought it
ariela
>>it's better to test for nKeyCode in conjunction with a specific nShiftAltCtrl value. <<
Thanks - I'll check the other keystrokes now, though everything except ^C worked as expected.
As you say "implicitly" - it is understandable once you know. Maybe later versions of VFP than mine are more...
>> test for nKEyCode = 3 AND nShiftAltCtrl=0, which means no such modifier key is pressed together with PageDn.<<
That worked perfectly - The lab boys & girls will be much happier now, with keystrokes that do what they're used to
And I've learnt something new (after 20 odd years of Fox)
thank...
>>I don't understand why Ctrl+C is causing a page down within the grid.
In MS-DOS, the PdDown key generated the same key code as Ctrl+C <<
and still does in VFox.
I think Olav's last post has provided the solution.
>>do you have Keypress Event code, which calls NODEFAULT in cae of the keycode for PageDn? <<
Yes
I've never looked into the nShiftAltCtrl parameter. How would I code for it?
the current bit of the Keypress is
if nKeyCode=3 && PgDn
nodefault
if this.pageframe1.activepage=1 && go to P2...
>> You need either to use _MED_COPY in the menu bar<<
I did, and assigned ctrl C as the shortcut key label but pressing Ctrl C, even after R-clicking for the shortcut menu, still just pages down to the next page. Cut & Paste work normally & the users prefer the familiar keystrokes. (cut isn't...
Answer was bit of both.
Created a shortcut menu with just Copy and called it from the R-click method of the field that needs that capability. So it's just R-click C to copy selected - near enough to Ctrl C to keep the users happy. (Paste still works as usual in the EXE)
Now is there a simple...
This form has a 3 page pageframe; each page containing a grid. The pageup/down keys move between pages. Keypreview =.t.
The users want to be able to select part of a grid field and copy the selected text to another field (on the same page).
In development mode this works prefectly well -
ie...
Thanks gentlemen. Looks as though I have to stay with Mike on this one.
What I do atm is to keep a 50 record 'base' foxuser in a non-Fox folder(H:\). This just has my working enviroment as I want it. I also have the following lines at the top of my Command.PRG
set reso off
!copy...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.