>>Thank you. This is even simpler than what they (VFPT) have in their solution. Interesting, however, that I see VFPT using PUBLIC variables whereas I understand (from your messages) it is not a good practice.
>
>Some of the samples were written 15 years ago, before the good practices were established. I've often found the code there hard to follow, and believe me, I've been on a dozen projects and through code written by a few dozen people, I've seen a lot and found my way through it. This, and specially the code in accompanying apps (scx, frx converter, class browser etc) is in a class of its own.
Makes sense. My comment about PUBLIC was just in passing. I like the examples' code because I can "extract" what I need quickly.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham