﻿<?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 - V1 » WinForms (How do I?)  » made  a new property in a form</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 12:21:13 GMT</lastBuildDate><ttl>20</ttl><item><title>made  a new property in a form</title><link>http://forum.strataframe.net/FindPost17551.aspx</link><description>Hi,&lt;BR&gt;So excuse me because i have a lot of questions.&lt;/P&gt;&lt;P&gt;So in foxpro, i can&amp;nbsp; add a property&amp;nbsp; on&amp;nbsp; a form.&lt;BR&gt;Exemple&lt;BR&gt; &lt;IMG src="http://forum.strataframe.net/Uploads/Images/846d545a-065a-476b-9ec1-afc0.JPG"&gt;&lt;/P&gt;&lt;P&gt;how can i do to make the same in a maintenanceform &lt;/P&gt;&lt;P&gt;&lt;IMG src="http://forum.strataframe.net/Uploads/Images/11ad1058-1025-4987-8486-0177.JPG"&gt;&lt;/P&gt;&lt;P&gt;Thank's &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hey, it's great, Ingrid BETANCOURT is free now !&lt;/STRONG&gt;</description><pubDate>Wed, 02 Jul 2008 16:18:26 GMT</pubDate><dc:creator>Eric Leissler</dc:creator></item><item><title>RE: made  a new property in a form</title><link>http://forum.strataframe.net/FindPost17556.aspx</link><description>Glad it helped! :)</description><pubDate>Wed, 02 Jul 2008 16:18:26 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: made  a new property in a form</title><link>http://forum.strataframe.net/FindPost17555.aspx</link><description>:)&amp;nbsp; hi, its great, its running verry well !&lt;/P&gt;&lt;P&gt;its exactly what i wanted !&lt;/P&gt;&lt;P&gt;thank's very much !&lt;/P&gt;&lt;P&gt;Eric</description><pubDate>Wed, 02 Jul 2008 16:12:14 GMT</pubDate><dc:creator>Eric Leissler</dc:creator></item><item><title>RE: made  a new property in a form</title><link>http://forum.strataframe.net/FindPost17554.aspx</link><description>You may not want to add all of your logic straight on a single dialog depending on what you are trying to accomplish, but you just need to simply create a property in this case:&lt;/P&gt;&lt;P&gt;[codesnippet]Private _MyProperty As String&lt;/P&gt;&lt;P&gt;Public Property MyProperty As String&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Get&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return _MyProperty&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Get&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set(Byval value As String)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _MyProperty = value&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Set&lt;BR&gt;End Property[/codesnippet]&lt;/P&gt;&lt;P&gt;After it has been added, you will need to rebuild the project before it can be seen within a designer.&amp;nbsp; Also, if you add this on a specific form, you will not see it within the designer unless the form () or user control, class, etc) is inherited.</description><pubDate>Wed, 02 Jul 2008 15:52:01 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>