Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3866

Subclassing folderitem

$
0
0

I use subclassing frequently in my projects. Needless to say, this is a very useful principle that keeps your code clean and compact.
Although subclassing the folderitem-class works differently. When you subclass a folderitem which is a folder (IsFolder) then it may have children. And it’s children are just folderitem objects defined by the system, it’s type is not equal to the subclassed parent.

Does anybody know how a handy way change the type of its children, equal to the subclassed parent?

3 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3866

Trending Articles