Hi everybody --
In honor of my very good friend, the late Matt Slay, I want to share the last tool we collaborated on.
The tool is not actually our concept at all, as it derives from two other tools that have been in the community for a long time (see the original message, below, that got us started.)
All that we did was to customize an existing tool, add some features, eliminate some bugs and provide some customization. (Actually, not much to get excited about.)
It's called rather simply: Do Form Explorer with (Object Reference)
The trick to making this a really valuable tool was to find the following unexpected way to call it. We have added the following line of code into our production code and also for use in our IDE:
On Key Label F9 Do Form Explorer with Sys(1270)
You can invoke Explorer at any time by hovering over any object in any form and using the hot key, and Explorer will open for that object.
We find that this is invaluable in Production; it also works in IDE the same way although we do not use it there as often.
One last thing: a hidden UI feature is the ability to edit properties by double-clicking in the value column of the grid. You can also view and edit properties of arrays the same way.
Peace.
I've always used Tamar's Object Inspector in my deployed app in a
hidden way, in that on from any CRUD forms, I can right click on
the icon in the upper left of the form, and I can use the Object
Inspector to see everything on the MainBO, which, is a *lot* of
automatically populated stuff from my wwBusinessPro trickery. I
find this helpful to dig around on some of the data that is
probably on the data objects but may not be display on the forms,
and sometimes I need that data for various reasons.
Anyway, I have this one BO that Object Inspector chokes on when
it parses the object to fetch all the data to show on the form. I
racked by brain and screwed around with my BO for a couple of
hours thinking it was some junk I had in my object hierarchy. I
never could figure it out. It caused "a too many nested do loops "
error on my BO for some reason that did not happen at run time,
and I could not cause the same error on that BO from the command
window, no matter what I tried to call or invoke.
Then on a whim I used an old tool I got from Mike Feltman's 2008 SWFox session on Collections. (The tool works on arrays and nested objects too, so it's not just about Collections, so the name Collection Explorer was ill-chosen if you ask me). That tool parsed the BO just fine and never triggered the same error on my BO methods as it parsed the BO. Go figure!
So, I am relieved about that and I'm switching away from Object
Inspector to this new tool.
One cool thing about his tool is that it is only one single SCX
form. No classlibs at all, no .APP file, no dependencies on
anything but native FoxPro controls. The original form had 3
controls and that's it. I added a 4th control as a label in the
bottom right hand corner. It it very lightweight, and only have
about 8 methods to do everything. Very easy to follow code, very
clean and simple.
I've also added some other functionality, like if one of the
property values in the grid is a cursor name, you can double-click
on it to browse that cursor. Tthe tools runs against the current
data session that it was called from, so it can see and browse
those cursors with double-click. (All of my child BO's store the
cursor name in a property, and there are other cursor names
references in other properties, so it's handy to fire off a Browse
from any cursor name.)
I also renamed this tool to Object Explorer (not to be confused
with Tamar's Object Inspector).
It is now "Object Explorer 2.1.0" so far. I may release it on
VFPx Githib, or at least put it up on my own GitHub and shoot out
a tweet and a few emails about it to get some feedback.
So, I've dumped Object Inspector for this new tool.
Do Form Object_Explorer with Thisform.oMainObject, "Job", "4033X"
--
You received this message because you are subscribed to the Google Groups "Thor, the Tool Manager for FoxPro" group.
To unsubscribe from this group and stop receiving emails from it, send an email to FoxProThor+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/FoxProThor/CAEAD%3DvO6Ms92%3D67NYz3OzTQnn0rpOFsk3YdZZkBC-n%2BQ7Jk_JQ%40mail.gmail.com.
Thanks Jim (and Matt). A nice surprise.
Rick Schummer
From: foxpr...@googlegroups.com <foxpr...@googlegroups.com> On Behalf Of Jim Nelson
Sent: February 2, 2022 06:36 PM
To: FoxPr...@googlegroups.com
Subject: Re: {Thor} One last tool from me and Matt Slay
Oops! That's not gonna do anybody any good without the attachments!
Sorry about that!
On Wed, Feb 2, 2022 at 4:29 PM Jim Nelson <jimrn...@gmail.com> wrote:
Hi everybody --
In honor of my very good friend, the late Matt Slay, I want to share the last tool we collaborated on.
The tool is not actually our concept at all, as it derives from two other tools that have been in the community for a long time (see the original message, below, that got us started.)
All that we did was to customize an existing tool, add some features, eliminate some bugs and provide some customization. (Actually, not much to get excited about.)
To view this discussion on the web visit https://groups.google.com/d/msgid/FoxProThor/CAEAD%3DvPf%3DJvCDsumOmX6pUG1bim%3DwEhirp%3DDvkqzr3t-YU0qww%40mail.gmail.com.
On Feb 3, 2022, at 12:32 AM, Rick Schummer <rsch...@gmail.com> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/FoxProThor/064c01d818bf%246d81e880%244885b980%24%40gmail.com.
On Feb 3, 2022, at 4:04 AM, Russell Campbell <russca...@interthink.com> wrote:
WTF! How did I miss that he passed? What are the details here?
Hi Russell,
I agree, the announcement came as a shock to me also. This is a quote from Rick Schummer's email dated October 12th last year:
It is with great sadness and a heavy heart to share the news that Matt Slay has passed away from COVID-19 earlier today. You may recognize Matt for his many contributions to the Fox Community on VFPX with the next generation of GoFish, DynamicForms, assisting Jim Nelson and Doug Hennig with the development and testing of Thor, inspiring the Go To Definition feature in Thor, and the VFP language template for VS Code, just to name a few of his contributions. Matt also inspired other developers to create things for our community when he was not tackling them himself. He was very good at twisting arms of fellow Visual FoxPro developers to get other things contributed.
Matt leaves behind his wife Sharon and two teenage sons. This is an absolute gut punch and is a terrible way to extinguish a shining star in our community.
Tore Bleken
To view this discussion on the web visit https://groups.google.com/d/msgid/FoxProThor/FE70A3ED-266C-49F4-B0FD-E57736290B82%40interthink.com.
On Feb 3, 2022, at 4:09 AM, Tore Bleken <to...@bleken.no> wrote:
To view this discussion on the web visit https://groups.google.com/d/msgid/FoxProThor/AM6PR0102MB339781862FA181A8F0020472D2289%40AM6PR0102MB3397.eurprd01.prod.exchangelabs.com.
Thanks Jim. Sorry to sound dense but how do I make them binary
file pairs again? I tried FoxBin2Prg from the Thor Applications
menu, last menu option for FoxBin2Prg, but it gives me the
following error when I clicked on one of the txt file(it was
looking for a project file). Never used this before thus. Please
advise
Kind regards
Bhavbhuti
To view this discussion on the web visit https://groups.google.com/d/msgid/FoxProThor/CAEAD%3DvPf%3DJvCDsumOmX6pUG1bim%3DwEhirp%3DDvkqzr3t-YU0qww%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/FoxProThor/2320a82a-0cf8-044e-dbd6-4a0e5f315240%40gmail.com.
Thanks Jim, but no joy. Same message, minus the .txt I am sure
I am missing something that is obvious
Kind regards
Bhavbhuti
To view this discussion on the web visit https://groups.google.com/d/msgid/FoxProThor/CC39CB5D-E4A2-4B08-8FF8-40C8A96A41EE%40gmail.com.
Thank Jim.
Please can You share the file common.h?
#INCLUDE "common.h"
Zdeněk Krejčí
From: foxpr...@googlegroups.com <foxpr...@googlegroups.com> On Behalf Of Jim Nelson
Sent: Thursday, February 3, 2022 12:36 AM
To: FoxPr...@googlegroups.com
Subject: Re: {Thor} One last tool from me and Matt Slay
Oops! That's not gonna do anybody any good without the attachments!
Sorry about that!
On Wed, Feb 2, 2022 at 4:29 PM Jim Nelson <jimrn...@gmail.com> wrote:
Hi everybody --
In honor of my very good friend, the late Matt Slay, I want to share the last tool we collaborated on.
The tool is not actually our concept at all, as it derives from two other tools that have been in the community for a long time (see the original message, below, that got us started.)
All that we did was to customize an existing tool, add some features, eliminate some bugs and provide some customization. (Actually, not much to get excited about.)
To view this discussion on the web visit https://groups.google.com/d/msgid/FoxProThor/CAEAD%3DvPf%3DJvCDsumOmX6pUG1bim%3DwEhirp%3DDvkqzr3t-YU0qww%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/FoxProThor/001101d818f1%24257d4020%247077c060%24%40comsys.cz.