Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Remove path from intellisense history

Status
Not open for further replies.

SteveDingle

Programmer
Jul 26, 2004
254
GB
Heya All,

Not sure if "intellisense history" is right term but what I'm talking about is when I enter something like ...

USE

... and then a list of the table recently "used" pops up. The problem I have it that it includes the path so if I want to get to the table I have to start typing the full path or use the arrow keys to move up and down through the list.

Since I use PATHs alot to easily access the files I need it would be much nicer if only the file name was there.

Anyone know how I can change that? I had a peek in the FOXCODE table but couldn't really find where this functionality was implemented.

Toodles,
Steve Dingle
D&S Business Solutions Ltd
 
As I recall it was was Mike Lewis who gave me this in another posting....

While we were not 100% certain about it working, you might try looking at the following after first opening VFP....
Code:
mcResource = SYS(2005)
SET RESOURCE OFF
USE (mcResource)
BROWSE FOR "MRU" $ ID

If those fields are the source for your pop-ups (note - this is different from Intellisense), then you could edit the DATA Memo fields and look for the results.

Good Luck,
JRB-Bldr
 
Thanks JRB-Bldr. Thanks for pointing to where they are. Considering they're being stored in the resource file my guess is I can't control how they store (JUSTFNAME() for instance).

Ah well, lived with it this was for years :)

Toodles,
Steve Dingle
D&S Business Solutions Ltd
 
Open IntelliSense Manager
On the General Page, change List Members setting to Manual
Click OK to save settings.
 

Laketax,

On the General Page, change List Members setting to Manual

When I first saw Steve's post, my first thought was to suggest something along the same lines. But, on re-reading it, I see that he doesn't want to suppress the entire member list. He still wants to see the list of files, but without the paths.

The only way I can think of to do that would be for him to write his own Intellisense script for the USE command.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Mike - I don't think that his problem involves Intellisense at all.

As best as I can determine, his question is somewhat similar to my own posting thread184-1236582 where Intellisense's ability to 'help' with VFP Commands remains working, but the MRU file prompts wasn't working as desired.

Steve merely wants to modify the MRU file prompts to display the JUSTFNAME(MRU Files).

JRB-Bldr
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top