Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to add custom property to a form?
Message
From
16/03/2007 16:17:50
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
01204821
Message ID:
01204830
Views:
19
This message has been marked as a message which has helped to the initial question of the thread.
Dimitry you can try
on the form
Friend MyProperty as String
or
Private myPropertyValue As String
Public Property MyProperty() As String
Get
Return myPropertyValue
End Get
Set(ByVal value As String)
'properties are nice when you want to also do some processing
'Me.HasChanged = True as an example
myPropertyValue = value
End Set
End Property

>I need to keep track of "something" as the Timer event (.Tick <g>) fires. In VFP world (used to be a language like that, maybe some of you older folk remember <g>) it was done by adding a custom property to a form. Then this property was in scope in any method of the form.
>
>Is there a way to set such a custom property to a Win.net form? Or, if not, what would be another way to do it?
>
>Thank you.
Alexandre Palma
Senior Application Architect
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform