Reputation: 2846
is there a way in delphi 2009 to make form controls private? eg: if i add a label at design time, i'd like for it to impossible for code outside the form to access the label.
(does delphi 2010 have this?)
Upvotes: 1
Views: 474
Reputation: 596958
Design-time controls cannot be made private. They must be published in order for DFM streaming to work correctly.
Upvotes: 1