Integrated Application Platform › Forums › General › Responding to change of value inside Record › Re: Re: Responding to change of value inside Record
Hi,
I don’t understand how the Sending of messages is actually handled. I will list down what I understand :
1) The NewValue() method of RecordControl is to handle the messages Send by the contained fields, which in turn sends the Record_NewValue message.
2) The actual Sending (by either the field control or record control) is by calling the Send method defined in Control.
I really do not understand how actually the Send method of Control works. I do not know how to put my doubt, though I will try. How actually does the control I code with a Record_NewValue() understand that indeed this particular message has been sent? Put another way, how does RecordControl passes on the message to the control I have coded? I understand how the code is written, but, what determines when this method (RecordNewValue) is executed by my control?
The Send method of Control sends messages for Field controls as well as RecordControl. For field controls, the source is an optional final argument (CookBook Determining the Source of Messages). However, for RecordControl, the source and value are in the opposite order and source isn’t named. This doesn’t cause problems because the method that will handle these messages are different? Am I right about this?
Thanks for your explanations in advance,
ajith