Forum Post: RE: Parameterized constructor in Visual Designer

  • Thread starter Thread starter Matt Baker
  • Start date Start date
Status
Not open for further replies.
M

Matt Baker

Guest
You cannot. PDS (OEA in 10.2b) has no way of knowing what values to pass to that constructor, and it has no way to construct objects of those values either. In addition, it doesn't actually run your code. It uses code parsing and reflection to run the steps defined in the initializecomponent method at design time. You need to provide a no argument constructor.

Continue reading...
 
Status
Not open for further replies.
Back
Top