I have a custom Thread class which is used by what I call the ‘main’ class. I can’t acces the (public) properties of this main class from within the thread class:
TMain = public class
public Something
public a : TThread
TThread = public class(thread)
public method NeedsSomethingFromTMain
I’m guessing TThread needs a reference to TMain to get his own ‘parent-properties’. I suppose this is really basic stuff, but I can’t figure it out. Can you point me in the right direction?