SUBCLASS with DCBROWSECOL, but only for the dataarea

This forum is for eXpress++ general support.
Post Reply
Message
Author
User avatar
Tom
Posts: 1234
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

SUBCLASS with DCBROWSECOL, but only for the dataarea

#1 Post by Tom »

I'm currently replacing an older multiline-column-class (providing cell-based-colors) with the much simpler ownerdrawing, but I came to a point where things got complicated. The old class initialized a variable only for the dataarea, and this variable was (and is) important for some sophisticated drag&drop-techniques inside the dialog/browse.

DCBROWSECOL supports a "subclass", but a column consists of the column object and at least 3 XbpCellgroups, where the dataarea is one from (BTW, it's hard to identify the dataarea!). The only thing I need is one additional exported var for the dataarea object. Is there an easy (maybe "hidden") way to do this? The alternative would be to create a subclass for the column and three new subclasses for the cellgroups. Any ideas? The cargo container is not helpful, since it's for the complete column, not only for cellgroups.
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

User avatar
Tom
Posts: 1234
Joined: Thu Jan 28, 2010 12:59 am
Location: Berlin, Germany

Re: SUBCLASS with DCBROWSECOL, but only for the dataarea

#2 Post by Tom »

Forget it, found a better solution.
Best regards,
Tom

"Did I offend you?"
"No."
"Okay, give me a second chance."

Post Reply