OK, I'm just doing some preliminary stuff in learning OOP stuff, so bear with me.
If I have an array of Objects, one of which is 'active' at a time.
Can I create a pointer to the active object? i.e.
What is the best method (efficiency and coding ease) to reference the active object's methods etc. from the active entry?
Or am I Waaayyyy out in left field?
George
If I have an array of Objects, one of which is 'active' at a time.
Can I create a pointer to the active object? i.e.
Code:
(Sort of) GLOBAL Tabs() AS iTabData ' Table of active tab objects DIM ActiveTab AS CLASS POINTER ' (doesn't compile) ActiveTab = VARPTR?/CODEPTR?(Tabs(x)) ' Assign pointer
Or am I Waaayyyy out in left field?
George
Comment