[Progress Communities] [Progress OpenEdge ABL] Forum Post: Static constructor

  • Thread starter Thread starter Arno van der Ende
  • Start date Start date
Status
Not open for further replies.
A

Arno van der Ende

Guest
I have two classes, both have a static constructor. Class MyClass inherits from class MyBase. This looks like: class MyBase: define public static property BaseProperty as character no-undo get. set. constructor static MyBase (): message "MyBase constructor" view-as alert-box information buttons ok. end constructor. end class. And: class MyClass inherits MyBase: constructor static MyClass (): message "MyClass constructor" view-as alert-box information buttons ok. end constructor. end class. When I execute ... MyClass:BaseProperty. ... only the static constructor of MyBase class is executed. How can I enforce that also the static constructor of MyClass is executed? Is that even possible?

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