Search found 3 matches

by LiddycoatA
Tue Oct 11, 2016 10:12 am
Forum: Visual Foxpro
Topic: Subclassing in XB++
Replies: 8
Views: 36049

Re: Subclassing in XB++

Fantasitc Roger, that did it. Thanks a ton!

If you don't mind, can you clarify or point me towards an article that explains the difference between calling a CLASS Method Myclass:MyMethod and calling it without the CLASS declaration?
by LiddycoatA
Tue Oct 11, 2016 8:28 am
Forum: Visual Foxpro
Topic: Subclassing in XB++
Replies: 8
Views: 36049

Re: Subclassing in XB++

The full code for my class is very simple. CLASS MyBrow FROM XbpBrowse //declare vairables PROTECTED: //Visible only in class methods EXPORTED: //globally visable CLASS VAR aSize, aPos, sType CLASS METHOD Init // class methods declaration ENDCLASS CLASS METHOD MyBrow:Init(oParent, oOwner, aPos, aSiz...
by LiddycoatA
Mon Oct 10, 2016 4:58 pm
Forum: Visual Foxpro
Topic: Subclassing in XB++
Replies: 8
Views: 36049

Subclassing in XB++

TL:DR; When I create a subclass, and call the :new() clause. my new class's :init() method appears to interrupt the superclass setting default values to it's members. This breaks further execution of function calls on my new class. How can i continue the default behavior after :init() is called to ...