<?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%2FMacro_Library%2FINITDIALOGITEM</id>
	<title>Programmer Guide/Macro Library/INITDIALOGITEM - 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%2FMacro_Library%2FINITDIALOGITEM"/>
	<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/INITDIALOGITEM&amp;action=history"/>
	<updated>2026-05-06T23:35:39Z</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/Macro_Library/INITDIALOGITEM&amp;diff=2750&amp;oldid=prev</id>
		<title>Christian: Text replace - &quot;S_TOOLS-STx&quot; to &quot;{{STX}}&quot;</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/INITDIALOGITEM&amp;diff=2750&amp;oldid=prev"/>
		<updated>2011-04-05T15:57:28Z</updated>

		<summary type="html">&lt;p&gt;Text replace - &amp;quot;S_TOOLS-STx&amp;quot; to &amp;quot;{{STX}}&amp;quot;&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 17:57, 5 April 2011&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-l4&quot;&gt;Line 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 4:&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;==INITDIALOGITEM==&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;==INITDIALOGITEM==&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;br&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;br&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;This macro is used to initialize the content of dialog controls of type combobox, listbox and listview. It implements a large set of initializations for &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;S_TOOLS-STx &lt;/del&gt;constants (like colors, fonts, ..) and for system devices (like drives, wave devices, files, ..).&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;This macro is used to initialize the content of dialog controls of type combobox, listbox and listview. It implements a large set of initializations for &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{STX}} &lt;/ins&gt;constants (like colors, fonts, ..) and for system devices (like drives, wave devices, files, ..).&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;br&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;br&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>Christian</name></author>
	</entry>
	<entry>
		<id>https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/INITDIALOGITEM&amp;diff=978&amp;oldid=prev</id>
		<title>Admin: 1 revision:&amp;#32;Initial import</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/INITDIALOGITEM&amp;diff=978&amp;oldid=prev"/>
		<updated>2010-11-18T16:31:27Z</updated>

		<summary type="html">&lt;p&gt;1 revision: Initial import&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:31, 18 November 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/INITDIALOGITEM&amp;diff=977&amp;oldid=prev</id>
		<title>Unknown user: initial import</title>
		<link rel="alternate" type="text/html" href="https://mediawiki.kfs.oeaw.ac.at/stx/docs/wiki/index.php?title=Programmer_Guide/Macro_Library/INITDIALOGITEM&amp;diff=977&amp;oldid=prev"/>
		<updated>1970-01-01T00:00:00Z</updated>

		<summary type="html">&lt;p&gt;initial import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
{{DISPLAYTITLE:{{SUBPAGENAME}}}}&lt;br /&gt;
﻿&lt;br /&gt;
==INITDIALOGITEM==&lt;br /&gt;
&lt;br /&gt;
This macro is used to initialize the content of dialog controls of type combobox, listbox and listview. It implements a large set of initializations for S_TOOLS-STx constants (like colors, fonts, ..) and for system devices (like drives, wave devices, files, ..).&lt;br /&gt;
&lt;br /&gt;
﻿&lt;br /&gt;
==INITDIALOGITEM CHANNELS default [waveitem|asetiref]==&lt;br /&gt;
&lt;br /&gt;
=====usage:=====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|default&lt;br /&gt;
|default channel index&lt;br /&gt;
|-&lt;br /&gt;
|waveitem&lt;br /&gt;
|name of wave&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;item&lt;br /&gt;
|-&lt;br /&gt;
|asetiref&lt;br /&gt;
|DataSet audio&amp;lt;nowiki&amp;gt;-&amp;lt;/nowiki&amp;gt;set reference&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=====result:=====&lt;br /&gt;
&lt;br /&gt;
channel table and default channel index (&amp;#039;table index&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
description:&lt;br /&gt;
&lt;br /&gt;
Returns a channel table for the current soundfile or the specified wave-item or audio-set. The table contains an entry for all-channels and one for each channel of the signal.&lt;br /&gt;
&lt;br /&gt;
﻿&lt;br /&gt;
==INITDIALOGITEM COLORS==&lt;br /&gt;
&lt;br /&gt;
=====Usage:=====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;INITDIALOGITEM COLORS [ &amp;lt;var&amp;gt;colorScheme&amp;lt;/var&amp;gt; ]&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Parameters:=====&lt;br /&gt;
&lt;br /&gt;
;&amp;lt;var&amp;gt;colorScheme&amp;lt;/var&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:The name of an existing color scheme in the current workspace file (e.g. stxini.xml). If &amp;lt;var&amp;gt;colorScheme&amp;lt;/var&amp;gt; is not specified, the default color scheme is used.&lt;br /&gt;
&lt;br /&gt;
=====Result:=====&lt;br /&gt;
&lt;br /&gt;
A color table and the default color index in the following format:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;table index&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=====Description:=====&lt;br /&gt;
&lt;br /&gt;
Returns a (simple) table containing all defined colors.&lt;br /&gt;
&lt;br /&gt;
=====Examples:=====&lt;br /&gt;
&lt;br /&gt;
Retrieve a list of the available colors into a table.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
readstr &amp;#039;$(initdialogitem color)&amp;#039; #tColorList #defaultColorId&lt;br /&gt;
showitem $#tColorList&lt;br /&gt;
um Default color is $#tColorList[$#defaultColorId]&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
﻿&lt;br /&gt;
==INITDIALOGITEM DIRECTORIES table [name1 ; name2 ; ...]==&lt;br /&gt;
&lt;br /&gt;
=====usage:=====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|table&lt;br /&gt;
|name of target table or * for new table&lt;br /&gt;
|-&lt;br /&gt;
|nameX&lt;br /&gt;
|directory names, wildcards are allowed (def.=*)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=====result:=====&lt;br /&gt;
&lt;br /&gt;
directory name table (&amp;#039;table&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
=====description:=====&lt;br /&gt;
&lt;br /&gt;
Scans the current directory for specified (or all) subdirectories and returns a table containing the names of found directories (rel. path, no directory or drive).&lt;br /&gt;
&lt;br /&gt;
﻿&lt;br /&gt;
==INITDIALOGITEM DRIVES==&lt;br /&gt;
&lt;br /&gt;
=====result:=====&lt;br /&gt;
&lt;br /&gt;
drive name table and list of drive letters (&amp;#039;table drive1 ... driveN&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
=====description:=====&lt;br /&gt;
&lt;br /&gt;
Scans for available (mounted) disk drives and stores the drive letter and the drive name in a table (&amp;#039;driveXletter:\ driveXname&amp;#039;).&lt;br /&gt;
&lt;br /&gt;
﻿&lt;br /&gt;
==INITDIALOGITEM FIELDNAMES table [default]==&lt;br /&gt;
&lt;br /&gt;
=====usage:=====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|table&lt;br /&gt;
|name of extended table&lt;br /&gt;
|-&lt;br /&gt;
|default&lt;br /&gt;
|default field index&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=====result:=====&lt;br /&gt;
&lt;br /&gt;
field name table and default field index (&amp;#039;table index&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
description:&lt;br /&gt;
&lt;br /&gt;
Returns a (simple) table containing all field names of the specified extended table.&lt;br /&gt;
&lt;br /&gt;
﻿&lt;br /&gt;
==INITDIALOGITEM FILES table [name1 ; name2 ; ...]==&lt;br /&gt;
&lt;br /&gt;
=====usage:=====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|table&lt;br /&gt;
|name of target table or * for new table&lt;br /&gt;
|-&lt;br /&gt;
|nameX&lt;br /&gt;
|filenames, wildcards are allowed (def.=*)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=====result:=====&lt;br /&gt;
&lt;br /&gt;
file name table (&amp;#039;table&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
=====description:=====&lt;br /&gt;
&lt;br /&gt;
Scans the current directory for specified (or all) files and returns a table containing the names of found files (name.extension, no directory or drive).&lt;br /&gt;
&lt;br /&gt;
﻿&lt;br /&gt;
==INITDIALOGITEM FONTS [default]==&lt;br /&gt;
&lt;br /&gt;
=====usage:=====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|default&lt;br /&gt;
|default font name&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=====result:=====&lt;br /&gt;
&lt;br /&gt;
font name table and default font index (&amp;#039;table index&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
=====description:=====&lt;br /&gt;
&lt;br /&gt;
Returns a (simple) table containing all defined font names.&lt;br /&gt;
&lt;br /&gt;
﻿&lt;br /&gt;
==INITDIALOGITEM TABLE default line1 ; line2 ; ... ; lineN==&lt;br /&gt;
&lt;br /&gt;
=====usage:=====&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
|default&lt;br /&gt;
|default line index&lt;br /&gt;
|-&lt;br /&gt;
|lineX&lt;br /&gt;
|lines to be stored in table&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=====result:=====&lt;br /&gt;
&lt;br /&gt;
line table and default line index (&amp;#039;table index&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
=====description:=====&lt;br /&gt;
&lt;br /&gt;
Stores the specified lines in a simple table.&lt;br /&gt;
&lt;br /&gt;
﻿&lt;br /&gt;
==INITDIALOGITEM WAVEIN|WAVEOUT==&lt;br /&gt;
&lt;br /&gt;
=====result:=====&lt;br /&gt;
&lt;br /&gt;
table with wave-in/out device names (&amp;#039;table&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
=====description:=====&lt;br /&gt;
&lt;br /&gt;
Stores the installed wave-in|out wave device names in a table.&lt;br /&gt;
&lt;br /&gt;
Array&lt;/div&gt;</summary>
		<author><name>Unknown user</name></author>
	</entry>
</feed>