X-Ray
X-Ray

Reputation: 2846

is there a way in delphi 2009 to make form controls private?

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

Answers (1)

Remy Lebeau
Remy Lebeau

Reputation: 596958

Design-time controls cannot be made private. They must be published in order for DFM streaming to work correctly.

Upvotes: 1

Related Questions