Post

 Resources 

Console


interfaces... tatsuo (0 replies, 0 views) (2000-Jul-14)
-
Okay, I'll get right to it. :) I've got a lot of different classes that all draw stuff to the screen using similar methods and properties. I have some functions that I want to be able to pass any of them into, so I thought I would create a abstract class, implement it into my classes, and pass the objects into the functions using early-binding. Well, all that works okay, but I have a problem. I want the methods and data members in the second interface to be visible in the main interface as well. My only thought was to do something like public sub draw() 'blah blah blah end sub private sub iScreenChr_draw() draw end sub Is there a better way? Thanks, Greg


-
Back to Forum


Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 249 visitors within the last 20 minutes
RSS News Feed