Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Major update released for Thor and Thor Repository
Message
 
 
To
24/10/2011 12:00:51
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01527180
Message ID:
01527189
Views:
71
Not clear what should I put for classes and Link? I may send Greg a message in regards to that.

>>>A major update has been released for Thor, the tool manager for FoxPro IDE, and the Thor Repository, a tool library for Thor.
>>>
>>>This update includes a new One-Click Update feature which downloads and installs other Thor supported applications, such as Thor Repository, PEM Editor with IDE Tools, and GoFish4.
>>>
>>>Visit http://bit.ly/VFPx-Thor to .download Thor 1.10, and then run “Check for Updates” under the Thor menu to .download or update all Thor supported tools.
>>>
>>See my reply in MSDN. I actually already updated the utilities - but I'm not clear how can I add a utility I use from time to time I mentioned there.
>>Also, I don't see GoFish installed - although I never installed it before - should I first download it manually?
>
>Look at one of the existing tools in the Tools folder of Thor install, to see how to create your own tool prg that points to your actual tool. You will then be able to refresh Thor (to see your tool), and assign a hotkey to your tool, or add it to a menu item. All this is done in the the Thor ->Setup area, after you create the tool prg.
>
>
>For instance, study Thor_Tool_GoFish.prg. Make a copy of that file and save it to a new name Thor_Tool_Blah.prg. ("Thor_Tool_" is an important prefix)
>
>Edit the properties on the prg and alter the code in Procedure ToolCode to call your tool.
>
>
>Example: In Thor_Tool_GoFish.prg, you will see:
>
>

>* Created: 10/23/11 10:57:18 PM
>Lparameters lxParam1
>
>****************************************************************
>****************************************************************
>* Standard prefix for all tools for Thor, allowing this tool to
>* tell Thor about itself.
>
>If Pcount() = 1 ;
> And 'O' = Vartype (lxParam1) ;
> And 'thorinfo' = Lower (lxParam1.Class)
>
> With lxParam1
>
> * Required
> .Prompt = 'GoFish4' && used when tool appears in a menu
> .Description = 'Advanced Code Search Tool.' && may be lengthy, including CRs, etc
> .PRGName = 'Thor_Tool_GoFish4' && a unique name for the tool; note the required prefix
>
> * Optional
> .StatusBarText = 'GoFish4'
> .Summary = 'Code Search Tool' && if empty, first line of .Description is used
> .AppName = 'GoFish4.app' && no path, but include the extension; thus GoFish4.App
> .FullAppName = 'D:\WORK\UTIL\THOR\THOR\TOOLS\APPS\GOFISH\GOFISH4.APP' && full path to APP
> .FolderName = 'D:\WORK\UTIL\THOR\THOR\TOOLS\APPS\GOFISH' && full path to APP
> .Classes = 'loGoFish = gofishsearchengine of lib\gofishsearchengine.vcx|http://vfpx.codeplex.com/wikipage?title=GoFishSearchEngine' &&, separated by commas. e.g., 'thorinfo of thor_utils'
>
> * For public tools, such as PEM Editor, etc.
> .Source = 'GoFish' && e.g., 'PEM Editor'
> .Version = '4.1.221' && e.g., 'Version 7, May 18, 2011'
> .Author = 'Matt Slay'
> .Sort = 1 && the sort order for all items from the same .Source
> .Category = ''
> .Link = 'http://vfpx.codeplex.com/wikipage?title=GoFish'
> Endwith
>
> Return lxParam1
>Endif
>
>Do ToolCode
>
>Return
>
>
>****************************************************************
>****************************************************************
>* Normal processing for this tool begins here.
>Procedure ToolCode
> Do 'D:\WORK\UTIL\THOR\THOR\TOOLS\APPS\GOFISH\GOFISH4.APP'
>EndProc
>
>

If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform