Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>the formset has an array property that holds the open forms and thier status (visible or hidden)
>>so if a form needs something from another form it send a msg to the formset the formset will initiate the otherform if needed and will send the msg to it (it will also send the answer back)
>
>This is a great idea. I haven't read about doing this type of thing anywhere. You should think of writing an article about it for the VFUG newsletter. I plan to try and implement it, especially in my large scxforms.
the idea of object talking through msgs is a basic OO concept
and by some OO methodolegist considered an essntial charecteristic of an OO lang.
btw, if you look in the winAPI you would see that msgs is the way you can communicate with windows
e.g. when Windows shuts down it send a msg to all the windows to close
Arnon
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