>Garret,
>
>Thanks for your quick answer.
>
>I really need to have this as a custom object, not in a form.
>
Base your class on a Form. You can set it to a private data session on visible=.f.
The only difference between this an a custom object other than the ability to have a private datasession within the object would be that would you not be able to drop the form on the form.
You would have to instaniate it programatically perhaps in your VISUAL forms init...
thisform.oDataObj = createobj('MyDataObj')
This is actually how Jim Booth suggest to create Business Objects in his book Advanced tehniques.
BOb
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement