>>>>When writing I don't have a clue what oParent is. It could be a form, a grid, a container, a toolbar, _screen. I don't know what type of object has been added to the form etc... I don't care here either.
>>>>
>>>>The point is however, that in particular cases you don't give a hoot about its type, because YOU AS A PROGRAMMER know that certain properties and methods do exist, and telling the compiler the same might be very difficult. This is the reason virtual classes and virtual methods exist. You'll have to bend everyhting into making the compiler happy because it wants to know all at compile time.
>>
>>Ouch how could I forget, after you stumped me in the face with that more than once :) ?
>
>I didn't memorize that one immediately either... they say 8 times is enough (which also holds for politics... Göbbels was actually using binary when he said that anything repeated 1000 times...). I think this was Fabio's finding, for which I still owe him a beer.
Cool tip indeed. It helped me as well on few occasions :)