Hi Gerry,
Could you please let me know what are you trying to accomplish with a piece of code? Because your question is not so clear for now. But i guess that your question is not related with pointers. Anyway, I'm waiting for you to show some code..
Regards,
Oktay Sancak
Gerry Bendixen wrote:
Hi all, Recently the concept of using pointers has been discussed with some favorable and some unfavorable comments. Not being an expert, I have resorted to using pointers for one specific purpose and now I am questioning whether my approach is optimum. Here's the situation: I have a 'main' unit that holds the main form with some components that I want to be accessable by 'used' units. (TProgressBar, TEdit, etc.) I declare a pointer to the component, assign a value in the main unit and use the pointer in 'used' units to access the component.
My question is whether there are better concepts to achieve this functionality.
Thanks in advance for any hints. Gerry Bendixen _______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi
_______________________________________________ Delphi mailing list -> [email protected] http://www.elists.org/mailman/listinfo/delphi

