<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?action=history&amp;feed=atom&amp;title=Programmer_Guide%2FShell_Items%2FDialog%2FDialog_Controls%2FStatic</id>
	<title>Programmer Guide/Shell Items/Dialog/Dialog Controls/Static - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?action=history&amp;feed=atom&amp;title=Programmer_Guide%2FShell_Items%2FDialog%2FDialog_Controls%2FStatic"/>
	<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Shell_Items/Dialog/Dialog_Controls/Static&amp;action=history"/>
	<updated>2026-05-06T19:10:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.6</generator>
	<entry>
		<id>https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Shell_Items/Dialog/Dialog_Controls/Static&amp;diff=10224&amp;oldid=prev</id>
		<title>Jw at 12:38, 7 November 2018</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Shell_Items/Dialog/Dialog_Controls/Static&amp;diff=10224&amp;oldid=prev"/>
		<updated>2018-11-07T12:38:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 14:38, 7 November 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| An optional variable to be used instead of &amp;lt;var&amp;gt;text&amp;lt;/var&amp;gt;. If specified, the static&amp;#039;s caption can be updated set to the content of &amp;lt;var&amp;gt;var&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;&amp;lt;/var&amp;gt; by using the option /Write. Note that you can update the text even if you do not use a variable, by using the &amp;lt;code&amp;gt;SET dialog $#controlIndex * &amp;#039;the new static text&amp;#039;&amp;lt;/code&amp;gt; command.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| An optional variable to be used instead of &amp;lt;var&amp;gt;text&amp;lt;/var&amp;gt;. If specified, the static&amp;#039;s caption can be updated set to the content of &amp;lt;var&amp;gt;var&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;&amp;lt;/var&amp;gt; by using the option /Write. Note that you can update the text even if you do not use a variable, by using the &amp;lt;code&amp;gt;SET dialog $#controlIndex * &amp;#039;the new static text&amp;#039;&amp;lt;/code&amp;gt; command.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;var&amp;gt;&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Left|Right|Center&amp;lt;&lt;/del&gt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;var&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| /&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;L, &lt;/ins&gt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;R, or /C&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| Set the caption text alignment inside the static control.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;| Set the caption text alignment inside the static control.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jw</name></author>
	</entry>
	<entry>
		<id>https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Shell_Items/Dialog/Dialog_Controls/Static&amp;diff=10061&amp;oldid=prev</id>
		<title>Jw: Created page with &quot;File:dialog_control_static.png   SET &lt;var&gt;dialog&lt;/var&gt; &lt;var&gt;index&lt;/var&gt; STATIC &lt;var&gt;row&lt;/var&gt; &lt;var&gt;col&lt;/var&gt; &lt;var&gt;text&lt;/var&gt; [ *|&lt;var&gt;var&lt;sub&gt;1&lt;/sub&gt;&lt;/var&gt; &lt;var&gt;width&lt;/var...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Shell_Items/Dialog/Dialog_Controls/Static&amp;diff=10061&amp;oldid=prev"/>
		<updated>2018-05-15T10:03:37Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/stx/docs/wiki/index.php/File:Dialog_control_static.png&quot; title=&quot;File:Dialog control static.png&quot;&gt;File:dialog_control_static.png&lt;/a&gt;   SET &amp;lt;var&amp;gt;dialog&amp;lt;/var&amp;gt; &amp;lt;var&amp;gt;index&amp;lt;/var&amp;gt; STATIC &amp;lt;var&amp;gt;row&amp;lt;/var&amp;gt; &amp;lt;var&amp;gt;col&amp;lt;/var&amp;gt; &amp;lt;var&amp;gt;text&amp;lt;/var&amp;gt; [ *|&amp;lt;var&amp;gt;var&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;&amp;lt;/var&amp;gt; &amp;lt;var&amp;gt;width&amp;lt;/var...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[File:dialog_control_static.png]]&lt;br /&gt;
&lt;br /&gt;
 SET &amp;lt;var&amp;gt;dialog&amp;lt;/var&amp;gt; &amp;lt;var&amp;gt;index&amp;lt;/var&amp;gt; STATIC &amp;lt;var&amp;gt;row&amp;lt;/var&amp;gt; &amp;lt;var&amp;gt;col&amp;lt;/var&amp;gt; &amp;lt;var&amp;gt;text&amp;lt;/var&amp;gt; [ *|&amp;lt;var&amp;gt;var&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;&amp;lt;/var&amp;gt; &amp;lt;var&amp;gt;width&amp;lt;/var&amp;gt; &amp;lt;var&amp;gt;height&amp;lt;/var&amp;gt; * &amp;lt;var&amp;gt;fg&amp;lt;/var&amp;gt; &amp;lt;var&amp;gt;bg&amp;lt;/var&amp;gt; &amp;lt;var&amp;gt;font&amp;lt;/var&amp;gt;] [ /L|R|C ]&lt;br /&gt;
&lt;br /&gt;
Note that it is not possible to connect a &amp;#039;&amp;#039;value item&amp;#039;&amp;#039; to a static control using the command &amp;lt;code&amp;gt;[[Programmer_Guide/Shell_Items/Dialog/SET_DIALOG#INPUT|SET dialog index INPUT output]]&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;keinrahmen&amp;quot;&lt;br /&gt;
| &amp;lt;var&amp;gt;text&amp;lt;/var&amp;gt;&lt;br /&gt;
| The text to display in the static control.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;var&amp;gt;var&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;&amp;lt;/var&amp;gt;&lt;br /&gt;
| An optional variable to be used instead of &amp;lt;var&amp;gt;text&amp;lt;/var&amp;gt;. If specified, the static&amp;#039;s caption can be updated set to the content of &amp;lt;var&amp;gt;var&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;&amp;lt;/var&amp;gt; by using the option /Write. Note that you can update the text even if you do not use a variable, by using the &amp;lt;code&amp;gt;SET dialog $#controlIndex * &amp;#039;the new static text&amp;#039;&amp;lt;/code&amp;gt; command.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;var&amp;gt;/Left|Right|Center&amp;lt;/var&amp;gt;&lt;br /&gt;
| Set the caption text alignment inside the static control.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
See [[Programmer_Guide/Shell_Items/Dialog/Dialog_Controls#Common_arguments|Common arguments]] for a description of the parameters not described here.&lt;br /&gt;
&lt;br /&gt;
You can display an image in a static control using the &amp;lt;code&amp;gt;[[Programmer_Guide/Shell_Items/Dialog/SET_DIALOG#BITMAP|SET dialog BITMAP&amp;lt;/code&amp;gt;]] command.&lt;/div&gt;</summary>
		<author><name>Jw</name></author>
	</entry>
</feed>