StrataFrame Forum

made a new property in a form

http://forum.strataframe.net/Topic17551.aspx

By Eric Leissler - 7/2/2008

Hi,
So excuse me because i have a lot of questions.

So in foxpro, i can  add a property  on  a form.
Exemple

how can i do to make the same in a maintenanceform

Thank's

Hey, it's great, Ingrid BETANCOURT is free now !

By Trent L. Taylor - 7/2/2008

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:

Private _MyProperty As String

Public Property MyProperty As String
    Get
        Return _MyProperty
    End Get
    Set(Byval value As String)
        _MyProperty = value
    End Set
End Property

After it has been added, you will need to rebuild the project before it can be seen within a designer.  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.

By Eric Leissler - 7/2/2008

Smile  hi, its great, its running verry well !

its exactly what i wanted !

thank's very much !

Eric

By Trent L. Taylor - 7/2/2008

Glad it helped! Smile