<doc>
	<legacy_id>305</legacy_id>
	<term>message handler</term>
	<definition><p>A <glossary tag="handler">handler</glossary> you write that either <glossary tag="handle">handles</glossary> a <href tag="../dictionary/built-in_message.xml">built-in message</href> (such as <message tag="mouseUp">mouseUp</message>) or defines a <href tag="../dictionary/custom_command.xml">custom command</href>. Message handlers begin with the <control_st tag="on">on</control_st> <glossary tag="control structure">control structure</glossary>.</p></definition>
	<categories>
	 	<category>Writing LiveCode</category>
	</categories>
	<synonyms>
	 	<synonym>message handler</synonym>
	 	<synonym>message handlers</synonym>
	 	<synonym>message handler's</synonym>
	 	<synonym>message handlers'</synonym>
	</synonyms>
</doc>