Michael,

In VFP 9 you can write a projecthook QueryModifyFile event method call to check 
if you are
modifying a class library. This event was not triggered for class libraries 
prior to VFP
9. The default behavior is to open the Class Browser. You can intercept this to 
display
your own class library opener utility which displays the classes in date order. 
I have an
example of the projecthook on my Web site. It optionally opens HackCX 
Professional instead
of the Class Browser.

Another approach would be to create a Class Browser add-in that "sorts" the 
treeview or
creates another user interface element like a list view or grid to show the 
classes in
timestamp order. The Class Browser already displays the timestamp information, 
so adding
it to the project description might be less useful. There is a project called
ClassBrowserX on SednaX (VFPx) which you can get involved with. This team is 
extending the
Class Browser. I think this type of add-in would be useful.

Rick
White Light Computing, Inc.

www.whitelightcomputing.com
www.rickschummer.com
586.254.2530 - office
586.254.2539 - fax
  


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of MB
Software Solutions
Sent: Tuesday, June 20, 2006 11:14 PM
To: [EMAIL PROTECTED]
Subject: Re: Ever wish this for VFP? Last modified class in VCX library

Rick,

Just a follow-up thought to this:  I don't use the Descriptions comment for the 
files in
the project much at all (perhaps 5% of the time).  I was looking at ProjectHook 
PEMs
thinking that I could write something to simply throw the current date/time 
into the
Description comments field for that file.  I see the QueryModifyFile Event but 
that fires
BEFORE the file is edited.  I don't see one that fires afterward.  If there 
was, I could
add the code there and I'd get somewhat of what I wanted (...it wouldn't show 
in timestamp
sorted order, but at least clicking on an object would show the timestamp from 
when last
modified!).

What do you think....possible and worthwhile?  Or even if we had some sort of 
ability to
add a right-click function to the project object to show the last modified, or 
even
extending that, showing the edits made on that object from the source control 
system?  Now
that's getting a bit involved, at that level.

--Michael




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** 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