<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.dabo.leafe.com/index.php?action=history&amp;feed=atom&amp;title=ValueMode</id>
	<title>ValueMode - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.dabo.leafe.com/index.php?action=history&amp;feed=atom&amp;title=ValueMode"/>
	<link rel="alternate" type="text/html" href="https://wiki.dabo.leafe.com/index.php?title=ValueMode&amp;action=history"/>
	<updated>2026-11-21T18:48:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://wiki.dabo.leafe.com/index.php?title=ValueMode&amp;diff=4109&amp;oldid=prev</id>
		<title>Ed: Created page with &quot;Controls that allow the user to select from several items have options for determining how to represent the selection. Do we go with the text of the selection, the position of...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.dabo.leafe.com/index.php?title=ValueMode&amp;diff=4109&amp;oldid=prev"/>
		<updated>2020-05-12T21:18:42Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Controls that allow the user to select from several items have options for determining how to represent the selection. Do we go with the text of the selection, the position of...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Controls that allow the user to select from several items have options for determining how to represent the selection. Do we go with the text of the selection, the position of the selection within the list, or perhaps an associated but non-displayed key for the selected item?&lt;br /&gt;
&lt;br /&gt;
You can reference any of these values at any time via the control&amp;#039;s &amp;lt;code&amp;gt;StringValue&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;PositionValue&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;KeyValue&amp;lt;/code&amp;gt; properties. But if we reference the &amp;lt;code&amp;gt;Value&amp;lt;/code&amp;gt; property, which one do we get? This is important, as it is &amp;lt;code&amp;gt;Value&amp;lt;/code&amp;gt; that is bound via the [[DataSource]] and [[DataField]] properties.&lt;br /&gt;
&lt;br /&gt;
To determine this, set the control&amp;#039;s &amp;#039;&amp;#039;&amp;#039;ValueMode&amp;#039;&amp;#039;&amp;#039; property to one of the following:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
| style=&amp;quot;background: lightgrey; font-weight: bold;&amp;quot; | ValueMode Setting&lt;br /&gt;
| style=&amp;quot;background: lightgrey; font-weight: bold;&amp;quot; | Value Returns...&lt;br /&gt;
|-&lt;br /&gt;
| String&lt;br /&gt;
| The text of the selected item&lt;br /&gt;
|-&lt;br /&gt;
| Position&lt;br /&gt;
| The position of the selected item within the list (zero-based)&lt;br /&gt;
|-&lt;br /&gt;
| Key&lt;br /&gt;
| The associated Key for the selected item&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Ed</name></author>
	</entry>
</feed>