The class level code for a subclass? It must exist independent from any form.Must it? ;-)
that may be weird... and somehow reminds me of VB6.Actually there may be advantages to having all of a form's code in one place. A big VFP form with code scattered all over the place may match purist OO more closely but can be a pita.
"... They ne'er cared for us
yet: suffer us to famish, and their store-houses
crammed with grain; make edicts for usury, to
support usurers; repeal daily any wholesome act
established against the rich, and provide more
piercing statutes daily, to chain up and restrain
the poor. If the wars eat us not up, they will; and
there's all the love they bear us."
-- Shakespeare: Coriolanus, Act 1, scene 1