﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum / StrataFrame Application Framework / WinForms (How do I?)  / Macro substitution / Latest Posts</title><generator>InstantForum.NET v4.1.4</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>forum@strataframe.net</webMaster><lastBuildDate>Fri, 21 Nov 2008 15:40:25 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Macro substitution</title><link>http://forum.strataframe.net/Topic1974-7-1.aspx</link><description>Good deal.</description><pubDate>Mon, 31 Jul 2006 09:28:09 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Macro substitution</title><link>http://forum.strataframe.net/Topic1974-7-1.aspx</link><description>I found this out on the net somewhere and the light went on:&lt;/P&gt;&lt;P&gt;       &lt;FONT class=k&gt;For&lt;/FONT&gt; i &lt;FONT class=k&gt;As&lt;/FONT&gt; &lt;FONT class=k&gt;Integer&lt;/FONT&gt; = 1 &lt;FONT class=k&gt;To&lt;/FONT&gt; 3 &lt;BR&gt;            CType(&lt;FONT class=k&gt;Me&lt;/FONT&gt;.Controls(&lt;FONT class=s&gt;"Label"&lt;/FONT&gt; &amp;amp; i), Label).Text = &lt;FONT class=s&gt;"Text Number "&lt;/FONT&gt; &amp;amp; i &lt;BR&gt;        &lt;FONT class=k&gt;Next&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;I get it............. :D</description><pubDate>Sun, 30 Jul 2006 22:03:33 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Macro substitution</title><link>http://forum.strataframe.net/Topic1974-7-1.aspx</link><description>Cool Ill try this all out....... thank you.</description><pubDate>Fri, 28 Jul 2006 23:02:29 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Macro substitution</title><link>http://forum.strataframe.net/Topic1974-7-1.aspx</link><description>That is what I am trying to illustrate.  TextBox1 is not a direct reference, you could just as easily put in a local variable here.  If I wanted to directly reference the TextBox1, there would not have been quotes and I would have made a call like this:&lt;/P&gt;&lt;P&gt;TextBox1.GetType()&lt;/P&gt;&lt;P&gt;Does that make sense?  Regardless of VFP or .NET, you have to have some base reference.  For example, a form, user control, containter, etc. that you know will exist in order for you to enumerate the controls within it.  Or create controls.  In your example, your base would be "&lt;FONT color=#1111ff&gt;thisform.pgfCorpInfo.page5" &lt;/FONT&gt;&lt;FONT color=#4b6e9d&gt;which you would then iterate through the Controls collection of this container object and begin using reflection to determine what to do, if anything, with that object.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#111111&gt;DIm loControl As Control&lt;BR&gt;Dim loType As System.Type&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#111111&gt;For Each loControl In Me.pgfCorpInfo.Page5&lt;BR&gt;&lt;BR&gt;   '-- Save off the type of the control&lt;BR&gt;   loType = loControl.GetType()&lt;BR&gt;&lt;BR&gt;   '-- See if this control need to be updated&lt;BR&gt;   If loType.IsSubClassOf(TextBox) Then&lt;BR&gt;       CType(loControl, TextBox).Text = "MyValue"&lt;BR&gt;   ElseIf loType.IsSubClassOf(CheckBox) Then&lt;BR&gt;       CType(loControl, CheckBox).Checked = True&lt;BR&gt;   End If&lt;BR&gt;&lt;BR&gt;&lt;BR&gt;Next&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;So in this example you really are not using as much reflection as just making sure that the objects are properly typed.  For whatever it is worth, you can do what you are trying to do.  You can do practically ANYTHING in .NET.  The thing is that you have to properly reflect the objects in order to set them or execute methods.  You can test on object names, values, literllay anything.  But just as you already knew where you were planning to look in your VFP code, you have to have a point of reference to at least start from before you can reflect to the objects dynamically.</description><pubDate>Fri, 28 Jul 2006 22:59:47 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Macro substitution</title><link>http://forum.strataframe.net/Topic1974-7-1.aspx</link><description>Great stuff there and I may be dense since it is getting late, but....&lt;/P&gt;&lt;P&gt;You code all has a hardcoded reference like "Textbox1"&lt;/P&gt;&lt;P&gt;How do you make your code flexible so that it can accept any/many controls (ie. TEXTBOX(x) ) with passing an explicit reference to a control:&lt;/P&gt;&lt;P&gt;Here is VFP code I cannot reproduce:&lt;/P&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;&lt;P&gt;&lt;FONT face=Verdana color=#1111ff&gt;IF ALLTRIM(this.Value) &amp;lt;&amp;gt; ALLTRIM(g_emailaddress)&lt;BR&gt; For x = 1 To 4 &amp;amp;&amp;amp; 4 contacts&lt;BR&gt;  l_fieldname = "thisform.pgfCorpInfo.page5.chkCont"+Alltrim(Str(x))+"_primary.value"&lt;BR&gt;  If &amp;amp;l_fieldname = .T.&lt;BR&gt;    l_emailfield = "thisform.pgfCorpInfo.page5.txtCont"+ALLTRIM(STR(x))+"_email.value"&lt;BR&gt;    &amp;amp;l_emailfield = ALLTRIM(this.value)&lt;BR&gt;  Endif&lt;BR&gt; Next x&lt;BR&gt;ENDIF&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Verdana color=#1f5080&gt;See how l_fieldname references 4 controls here since I am BUILDING the name? THAT is what I dont get.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face=Verdana color=#1f5080&gt;Replection DOES look awesome though.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;&lt;/FONT&gt;&lt;P&gt;I must not be explaining myself well, but I do promise to buy ya a beer August 11th for putting up with it :)</description><pubDate>Fri, 28 Jul 2006 22:45:44 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Macro substitution</title><link>http://forum.strataframe.net/Topic1974-7-1.aspx</link><description>Here is a sample that shows how to start using reflection.  This is a very basic sample, but should start giving you an idea of how to use reflection.  Honestly, though it may be hard to believe at first, .NET has a much system of communicating with indirect objects.  Once you begin to understand the structure of .NET, the VFP macro will seem clumsy and cumbersome....and practically useless :)  But believe me, I did not think this at first and I have come a long way since I first wanted to resort back to a weak typed macro.&lt;P&gt;The first method you need to learn about it GetType().  This method will be instrisically on every object, regardless of the class or control, in .NET.  This is the gateway into reflecting an object or class to get to its properties, methods, events, and so on.&lt;/P&gt;&lt;P&gt;Also, as a side note, you will want to use CType() and GetType() instead of TypeOf.  It will be much faster.  For example, in your code snippet:&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;P&gt;[quote]&lt;FONT color=#0000ff&gt;If&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;TypeOf&lt;/FONT&gt;&lt;FONT size=2&gt; ctr &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Is&lt;/FONT&gt;&lt;FONT size=2&gt; CheckBox &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Then&lt;/FONT&gt;[/quote]&lt;/P&gt;&lt;/FONT&gt;&lt;P&gt;would be faster and more efficient as:&lt;/P&gt;&lt;P&gt;If ctr.GetType() Is GetType(CheckBox) Then&lt;/P&gt;&lt;P&gt;As for the forum questions, press Ctrl+Enter to break for a single line.  Enter takes you to a new paragraph.  As for tab....sorry:ermm:, you have to use spaces...at least for now.  As for code examples, you can copy from .NET and paste it directly into the editor. It will keep the tabs, but you may have to delete the blank lines and add a Ctrl+Enter to get a single line back in.&lt;P&gt;Last thing, instead of passing an array over to your pingit method, you should create a generic list with a reference to your controls.&lt;P&gt;&lt;STRONG&gt;Single Object Type As a CheckBox&lt;BR&gt;&lt;/STRONG&gt;&lt;BR&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#117711&gt;'-- Establish Locals&lt;/FONT&gt;&lt;BR&gt;Dim&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; loCheckBoxesOnly &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; System.Collections.Generic.List(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Of&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; CheckBox)&lt;/FONT&gt;&lt;P&gt;loCheckBoxesOnly.Add(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CheckBox1)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;Any Type Of Control&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;&lt;FONT color=#117711&gt;'-- Establish Locals&lt;BR&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff&gt;Dim&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; loAnyControl &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;As&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;New&lt;/FONT&gt;&lt;FONT color=#000000 size=2&gt; System.Collections.Generic.List(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Of&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;FONT color=#000000&gt; System.Windows.Forms.Control)&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;loAnyControl.Add(&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.CheckBox1)&lt;BR&gt;loAnyControl.Add(&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.Textbox1)&lt;BR&gt;loAnyControl.Add(&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.Textbox2)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size=2&gt;I hope this helps.  Please let me know if things are still a little fuzzy. My explanation may not be the best.&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;</description><pubDate>Fri, 28 Jul 2006 22:27:32 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Macro substitution</title><link>http://forum.strataframe.net/Topic1974-7-1.aspx</link><description>** why dont tabs work in my posts? and why is bouble spacing forced? makes for sloppy code examples **&lt;/P&gt;&lt;P&gt;perhaps a practical example is best:&lt;/P&gt;&lt;P&gt;here is some code I wrote that may explain my need, this is my workaround so far.....&lt;/P&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;For&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Each&lt;/FONT&gt;&lt;FONT size=2&gt; ctr &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;In&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Me&lt;/FONT&gt;&lt;FONT size=2&gt;.Controls&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;TypeOf&lt;/FONT&gt;&lt;FONT size=2&gt; ctr &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Is&lt;/FONT&gt;&lt;FONT size=2&gt; CheckBox &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Then&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;curCheckbox = ctr&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/FONT&gt;&lt;FONT size=2&gt; curCheckbox.Checked = &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;True&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Then&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/FONT&gt;&lt;FONT size=2&gt; curCheckbox.Name.Length = 9 &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Then&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;checkid = curCheckbox.Name.Substring(curCheckbox.Name.Length - 1, 1)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Else&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;checkid = curCheckbox.Name.Substring(curCheckbox.Name.Length - 2, 2)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/FONT&gt;&lt;FONT size=2&gt; checkid &amp;lt;= 30 &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Then&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;texttopass = textarray(Val(checkid) - 1)&lt;/P&gt;&lt;P&gt;labeltopass = labelarray(Val(checkid) - 1)&lt;/P&gt;&lt;P&gt;progresstopass = bararray(Val(checkid) - 1)&lt;/P&gt;&lt;P&gt;pingit(texttopass.Text, progresstopass, labeltopass, curCheckbox, checkid)&lt;/P&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;End&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;If&lt;/P&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;Next&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;/FONT&gt; &lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;********************************************************************************&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;I have those arrays of controls textarray&lt;FONT color=#1f5080&gt;, labelarray, and bararrray preloaded with controls that I might want to change the values of in the PINGIT method (I still call them methods, it is really a function/sub). I pass the entire control based on the array index because I dont know how to programatically create a control reference.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;If VFP I could just pass the index, then build a control reference variable and execute a macro substitution. I cant (or dont know how).&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;Lets take your options 2 since I think it was the closest.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;STRONG&gt;Option 2 - Accessing the Property Directly&lt;BR&gt;&lt;/STRONG&gt;Controls("txtTextBox1").GetType().GetProperty("BackColor") = Color.FromArgb(255,213,202)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;How would I do that without hardcoding the "1" in "Textbox1"? What is the name of the control to be changed was for instance pulled from a table?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;Do you see what I am getting at?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;Thanks for looking.... this isnt just me. The other developers in my office (all still semi-novices as .NET) cant get an elegant equivilant to the flexibility of the VFP macro.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;I guess the bottom line is how do I dynamically make a reference to a control using variables?&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;STRONG&gt;This is wrong but is pseuocode for what I want to do&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;STRONG&gt;Dim ctrl as Control&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;STRONG&gt;ctrl = "me." + &amp;lt;&amp;lt;variable containing textbox name or part of it (index) &amp;gt;&amp;gt; &lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;STRONG&gt;ctrl.text = "some text"&lt;/STRONG&gt;&lt;/P&gt;&lt;/FONT&gt;</description><pubDate>Fri, 28 Jul 2006 20:57:38 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Macro substitution</title><link>http://forum.strataframe.net/Topic1974-7-1.aspx</link><description>This is actually quite easy when you know where to look.  When I first wanted to do this it was extremely frustrating because I just wanted to create a macro like in VFP and execute it.  The good news is that this can be done, in a lot of different ways.  It all comes down to reflection and strong-typing.  Since VFP is a weak-typed language this was just a matter of combining some text and hoping that you didn't get an error.  In .NET, it is equally as easy, but you just have to conform to strong-typing.  Let's take your example and turn it into .NET using SF...keep in mind that ThisForm in VFP is not nearly as important in .NET which is referenced by Me.&lt;P&gt;&lt;STRONG&gt;Option 1&lt;BR&gt;&lt;/STRONG&gt;'-- Establish Locals&lt;BR&gt;Dim loControl As System.Windows.Forms.Control&lt;/P&gt;&lt;P&gt;For Each loControl In Me.Controls&lt;/P&gt;&lt;P&gt;    '-- See if the object is a textbox&lt;BR&gt;    If loControl.GetType() Is GetType(TextBox)&lt;BR&gt;        loControl.BackColor = Color.FromArgb(255,213,202)&lt;BR&gt;    End If&lt;/P&gt;&lt;P&gt;Next&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Option 2 - Accessing the Property Directly&lt;BR&gt;&lt;/STRONG&gt;Controls("txtTextBox1").GetType().GetProperty("BackColor") = Color.FromArgb(255,213,202)&lt;/P&gt;&lt;P&gt;You can also call methods and create objects dynamically using an activator which is similar to macros in VFP.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sample Class Creation&lt;/STRONG&gt;&lt;BR&gt;'-- Establish Locals&lt;BR&gt;DIm lcCmd As String = "MyClass"&lt;BR&gt;Dim loObj As Object&lt;BR&gt;&lt;BR&gt;'-- Create the class&lt;BR&gt;loObj = Activator.CreateInstance(lcCmd)&lt;/P&gt;&lt;P&gt;The topic you are asking about will be covered to some degree in our class.  This is also something we could go on about for a good long while.  There are MANY differents to accomplish this, it just depends on what you are attempting to do.&lt;/P&gt;&lt;P&gt;If this doesn't answer your question please let me know.&lt;BR&gt;</description><pubDate>Fri, 28 Jul 2006 20:12:33 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>Macro substitution</title><link>http://forum.strataframe.net/Topic1974-7-1.aspx</link><description>As a VFP developer, the one thing I have missed the most of my old friend "&amp;amp;".&lt;/P&gt;&lt;P&gt;Trying to build controls and/or objects dynamically then loop through them has proven a real PITA, the closest I have come so far is using .NET's control arrays (not even as easy to use as VB6's, but I digress) which have the limitiation of having to be loaded.&lt;/P&gt;&lt;P&gt;So.... being former VFP developers did you put in anything like this?&lt;/P&gt;&lt;P&gt;for x = 1 to n &lt;/P&gt;&lt;P&gt;l_controlstring = "thisform.txtTextbox" + alltrim(str(n)) + ".backcolor = rgb(255,213,202)"&lt;/P&gt;&lt;P&gt;&amp;amp;l_controlstring&lt;/P&gt;&lt;P&gt;next x&lt;/P&gt;&lt;P&gt;If you did, I'm sold.</description><pubDate>Fri, 28 Jul 2006 19:08:32 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item></channel></rss>