G
Grumpy Aero Guy
I am upgrading an app from 6.0 to VB.
Have a couple of radio buttons that gave me the "may fire when form is
initialized" upgrade message. (no problem)
Added an Isinitializing property (boolean):
----------------------------------------------------------------------------
---------
Private Property IsInitializing() As String
Get
Return IsInitializing
End Get
Set(ByVal Value As String)
IsInitializing = Value
End Set
End Property
----------------------------------------------------------------------------
-------------------------
When I try to set this property as such:
----------------------------------------------------------------------------
----
Me.IsInitializing() = "True"
InitializeComponent()
Me.IsInitializing = "False"
----------------------------------------------------------------------------
----------------------------------------------
in the "new" method of my form class, I get an error, as the property gets
hung when it tries to set the "isinitialized" property to true:
"An unhandled exception of type 'System.StackOverflowException' occurred "
The hanging app is the property get routine....I debugged and tracked it
into the property set routine where it blows up for no apparent reason.
Any wisdom out there???
--
Frank Bachman
(Grumpy Aero Guy)
Have a couple of radio buttons that gave me the "may fire when form is
initialized" upgrade message. (no problem)
Added an Isinitializing property (boolean):
----------------------------------------------------------------------------
---------
Private Property IsInitializing() As String
Get
Return IsInitializing
End Get
Set(ByVal Value As String)
IsInitializing = Value
End Set
End Property
----------------------------------------------------------------------------
-------------------------
When I try to set this property as such:
----------------------------------------------------------------------------
----
Me.IsInitializing() = "True"
InitializeComponent()
Me.IsInitializing = "False"
----------------------------------------------------------------------------
----------------------------------------------
in the "new" method of my form class, I get an error, as the property gets
hung when it tries to set the "isinitialized" property to true:
"An unhandled exception of type 'System.StackOverflowException' occurred "
The hanging app is the property get routine....I debugged and tracked it
into the property set routine where it blows up for no apparent reason.
Any wisdom out there???
--
Frank Bachman
(Grumpy Aero Guy)