Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dot properties of controls.
Message
From
06/11/2001 11:54:19
 
 
To
02/11/2001 04:47:51
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00576605
Message ID:
00578045
Views:
18
>Can someone tell me about the dot properties. of the controls in VB.NET.
>
>Can such properties be created by the user too??
>
>Thanks.

This is available in VB6 already and I am sure it will work in .NET. For example to add a FormName.Parameter property use the following code:
Private m_strParameter As String
'===============================================================
'*  Property:       Parameter
'*  Author:         Joe Johnston 07/19/2001
'*  Description:    This is to allow forms to accept parameters
'*  Parameters:     Whatever you want to pass. Alter type as needed
'===============================================================
Public Property Get Parameter() As String
    Parameter = m_strParameter
  End Property
  Public Property Let Parameter(ByVal strParameter As String)
    m_strParameter = strParameter
End Property
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Previous
Reply
Map
View

Click here to load this message in the networking platform