<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://wiki.aquasoft.de/wiki/index.php?action=history&amp;feed=atom&amp;title=OnCreateContextMenu</id>
	<title>OnCreateContextMenu - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.aquasoft.de/wiki/index.php?action=history&amp;feed=atom&amp;title=OnCreateContextMenu"/>
	<link rel="alternate" type="text/html" href="https://wiki.aquasoft.de/wiki/index.php?title=OnCreateContextMenu&amp;action=history"/>
	<updated>2026-04-19T05:44:07Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in AquaSoft Wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://wiki.aquasoft.de/wiki/index.php?title=OnCreateContextMenu&amp;diff=843&amp;oldid=prev</id>
		<title>Steffen.binas: Die Seite wurde neu angelegt: „&lt;code&gt;   function OnCreateContextMenu(SlideShowObject: ISlideShowObject): string; &lt;/code&gt;  Beim Rechtsklick auf ein Objekt in der Timeline/Storyboard/Bilderliste,…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.aquasoft.de/wiki/index.php?title=OnCreateContextMenu&amp;diff=843&amp;oldid=prev"/>
		<updated>2012-09-15T18:35:36Z</updated>

		<summary type="html">&lt;p&gt;Die Seite wurde neu angelegt: „&amp;lt;code&amp;gt;   function OnCreateContextMenu(SlideShowObject: ISlideShowObject): string; &amp;lt;/code&amp;gt;  Beim Rechtsklick auf ein Objekt in der Timeline/Storyboard/Bilderliste,…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;code&amp;gt;&lt;br /&gt;
  function OnCreateContextMenu(SlideShowObject: ISlideShowObject): string;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Beim Rechtsklick auf ein Objekt in der Timeline/Storyboard/Bilderliste, also beim Erstellen des Kontextmenüs. Dieser Hook sollte genutzt werden, um spezielle Kontextmenü-Einträge zu generieren. Diese sind [https://de.wikipedia.org/wiki/JSON JSON]-formatiert. Der anzugebene Hook ist einfach eine Skript-Methode, die beim Klick ausgeführt werden soll.&lt;br /&gt;
&lt;br /&gt;
= Beispiel =&lt;br /&gt;
&amp;lt;code&amp;gt;&lt;br /&gt;
  // Beispiel eines möglichen Kontextmenü-Eintrags&lt;br /&gt;
  function OnCreateContextMenu(SlideShowObject: ISlideShowObject): string;&lt;br /&gt;
  begin&lt;br /&gt;
    Result := '[' +&lt;br /&gt;
                '{' +	&lt;br /&gt;
                  '&amp;quot;Caption&amp;quot;: &amp;quot;Text des Eintrags&amp;quot;,' +&lt;br /&gt;
                  '&amp;quot;Hint&amp;quot;: &amp;quot;MouseOver-Text&amp;quot;,' +&lt;br /&gt;
                  '&amp;quot;Hook&amp;quot;: &amp;quot;OnClickContextEntry&amp;quot;' +&lt;br /&gt;
                '}' +&lt;br /&gt;
              ']';&lt;br /&gt;
  end;&lt;br /&gt;
&lt;br /&gt;
  procedure OnClickContextEntry;&lt;br /&gt;
  begin&lt;br /&gt;
    // Code der ausgeführt wird, wenn auf den Menüeintrag geklickt wird.&lt;br /&gt;
  end;&lt;br /&gt;
&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Kategorie:Scripting-API]]&lt;br /&gt;
[[Kategorie:Language]]&lt;/div&gt;</summary>
		<author><name>Steffen.binas</name></author>
	</entry>
</feed>