<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.bishopphillips.com/riskwiki/index.php?action=history&amp;feed=atom&amp;title=BpcSMScriptLibrary_5</id>
	<title>BpcSMScriptLibrary 5 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.bishopphillips.com/riskwiki/index.php?action=history&amp;feed=atom&amp;title=BpcSMScriptLibrary_5"/>
	<link rel="alternate" type="text/html" href="https://www.bishopphillips.com/riskwiki/index.php?title=BpcSMScriptLibrary_5&amp;action=history"/>
	<updated>2026-11-15T00:44:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://www.bishopphillips.com/riskwiki/index.php?title=BpcSMScriptLibrary_5&amp;diff=173&amp;oldid=prev</id>
		<title>Bishopj: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://www.bishopphillips.com/riskwiki/index.php?title=BpcSMScriptLibrary_5&amp;diff=173&amp;oldid=prev"/>
		<updated>2026-04-12T06:37:07Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&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 06:37, 12 April 2026&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>Bishopj</name></author>
	</entry>
	<entry>
		<id>https://www.bishopphillips.com/riskwiki/index.php?title=BpcSMScriptLibrary_5&amp;diff=172&amp;oldid=prev</id>
		<title>Bishopj: Created page with &quot;==Value List Editor Utility routines==  Language: Delphi 7 - 2007   &lt;pre&gt; ////////////////////////////////////////////////////////////////////////////////////////// //////// V...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.bishopphillips.com/riskwiki/index.php?title=BpcSMScriptLibrary_5&amp;diff=172&amp;oldid=prev"/>
		<updated>2019-09-11T16:42:09Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Value List Editor Utility routines==  Language: Delphi 7 - 2007   &amp;lt;pre&amp;gt; ////////////////////////////////////////////////////////////////////////////////////////// //////// V...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Value List Editor Utility routines==&lt;br /&gt;
&lt;br /&gt;
Language: Delphi 7 - 2007&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
//////////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
//////// Value List Editor Utility routines&lt;br /&gt;
//////////////////////////////////////////////////////////////////////////////////////////&lt;br /&gt;
&lt;br /&gt;
interface&lt;br /&gt;
uses Classes, Grids, ValEdit;&lt;br /&gt;
type&lt;br /&gt;
   TbpcSimplProc = procedure of object;&lt;br /&gt;
   TbpcOnValidateEvent = procedure(Sender: TObject; ACol, ARow: Longint; const KeyName, KeyValue: string) of object;&lt;br /&gt;
&lt;br /&gt;
// Create and return a property item owned by a VLE with editstyle and editmask as provided.&lt;br /&gt;
// myEditStyle = esSimple, esEllipsis, esPickList&lt;br /&gt;
// myEditMask = &amp;#039;&amp;#039; or something like &amp;#039;999;9; &amp;#039;&lt;br /&gt;
function bpcVLEPropCreate( OwnerValueListEditor : TValueListEditor; myEditStyle: TEditStyle; myEditMask : string  ) : TItemProp;&lt;br /&gt;
// Create, Assign to key (as name string) and return a property item owned by a VLE with editstyle and editmask as provided.&lt;br /&gt;
function bpcVLEPropAssign( OwnerValueListEditor : TValueListEditor; key : string; myEditStyle: TEditStyle; myEditMask : string  ) : TItemProp; overload;&lt;br /&gt;
// Create, Assign to key (as an index position) and return a property item owned by a VLE with editstyle and editmask as provided.&lt;br /&gt;
function bpcVLEPropAssign( OwnerValueListEditor : TValueListEditor; key : integer; myEditStyle: TEditStyle; myEditMask : string  ) : TItemProp; overload;&lt;br /&gt;
// Initialise (by creating) all the propertied for keys in a VLE with the ordered list of editstyles and editmasks&lt;br /&gt;
procedure bpcVLESetPropItems( OwnerValueListEditor : TValueListEditor; myEditStyles : array of TEditStyle;  myEditMasks : array of string ); overload;&lt;br /&gt;
// Initialise (by creating) the properties for named keys (in myKeys) in a VLE with the ordered list of editstyles and editmasks&lt;br /&gt;
procedure bpcVLESetPropKeyedItems( OwnerValueListEditor : TValueListEditor; myKeys : array of string; myEditStyles : array of TEditStyle;  myEditMasks : array of string ); overload;&lt;br /&gt;
// Initialise the VLE properties to esSimple, excepte for those defined in the SpecialFormats stringlist&lt;br /&gt;
// SpecialFormats strings should have the form:&lt;br /&gt;
// &amp;lt;visible keyname&amp;gt;=ellipsis|picklist;&amp;lt;mask&amp;gt;&lt;br /&gt;
// where &amp;lt;mask&amp;gt; can be a delphi format string of the form &amp;#039;999;9;_&amp;#039;  (Note a &amp;#039;_&amp;#039; as the final mask part is changed to a &amp;#039; &amp;#039; in the created property)&lt;br /&gt;
// Example:&lt;br /&gt;
// &amp;#039;Company Number=picklist;999;9;_&amp;#039;&lt;br /&gt;
procedure bpcVLEInitPropItems( OwnerValueListEditor : TObject; SpecialFormats : TStrings );&lt;br /&gt;
// Get the current Value of a VLE based on its current row&lt;br /&gt;
function bpcVLECurrentValue( OwnerValueListEditor : TObject ) : string;&lt;br /&gt;
// Set the current Value of a VLE based on its current row (returns the newly assigned value as now stored (not necessaryily as provided)&lt;br /&gt;
function bpcVLESetCurrentValue( OwnerValueListEditor : TObject; ToValue : string ) : string;&lt;br /&gt;
// Get the current Key of a VLE based on its current row&lt;br /&gt;
function bpcVLECurrentKey( OwnerValueListEditor : TObject ) : string;&lt;br /&gt;
// Get the trimmed value of a VLE based on a Key&lt;br /&gt;
function bpcVLETrimmedValue( OwnerValueListEditor : TObject; Key : string ) : string; overload;&lt;br /&gt;
// Get the trimmed value of a VLE based on an Index&lt;br /&gt;
function bpcVLETrimmedValue( OwnerValueListEditor : TObject; Index : integer ) : string; overload;&lt;br /&gt;
// Get the key of a VLE based on an Index&lt;br /&gt;
function bpcVLEName( OwnerValueListEditor : TObject; Index : integer ) : string;&lt;br /&gt;
// Set the current Value of a VLE based on its current row (returns the newly assigned value as now stored (not necessaryily as provided)&lt;br /&gt;
function bpcVLESetKeyedValue( OwnerValueListEditor : TObject; Key : string; ToValue : string ) : string;&lt;br /&gt;
// Get the row count of the current VLE&lt;br /&gt;
function bpcVLERowCount( OwnerValueListEditor : TObject ) : integer;&lt;br /&gt;
// Set the VLE&amp;#039;s Strings Content&lt;br /&gt;
function bpcVLESetStrings( OwnerValueListEditor : TObject; Text : string ) : string ;  overload;&lt;br /&gt;
// Set the VLE&amp;#039;s Strings (Key/Value) using a stringlist&lt;br /&gt;
function bpcVLESetStrings( OwnerValueListEditor : TObject; myStrings : tstrings ) : tstrings ; overload;&lt;br /&gt;
// Set the VLE&amp;#039;s ValidateEvent&lt;br /&gt;
function bpcVLESetOnValidate( OwnerValueListEditor : TObject; Value : TbpcOnValidateEvent ) : TbpcOnValidateEvent ;&lt;br /&gt;
// Get the VLE&amp;#039;s ValidateEvent&lt;br /&gt;
function bpcVLEGetOnValidate( OwnerValueListEditor : TObject ) : TbpcSimplProc ;&lt;br /&gt;
// Get the VLE&amp;#039;s Keys List&lt;br /&gt;
function bpcVLEGetKeys( OwnerValueListEditor : TObject ) : tstrings ;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=BackLinks=&lt;br /&gt;
&lt;br /&gt;
{{#dpl: linksto={{FULLPAGENAME}} }}&lt;/div&gt;</summary>
		<author><name>Bishopj</name></author>
	</entry>
</feed>