Delphi/CB
•  Greatis •  Security •  AppDatabase •  Utilities •  Visual Basic • .NET •  just4fun
Delphi / C++ Builder
Components, utilities and tips for Delphi and C++ Builder developers
More info
Form Designer FAQ
Form Designer Home
Delphi Components
See also
Products
Object Inspector
Runtime Fusion
Print Suite
Commented Image
Image Editor  new!
Delphi Toys
Ultimate Pack  hot!

FAQs
Object Inspector FAQ
Print Suite FAQ
Image Editor FAQ

Links
Software for .NET
Software for VB 6
Delphi Tips & Tricks

Services
Outsourcing
Protecting controls
TFormDesigner allows to protect some controls from designing. Protected control works as usual independently fro activity of TFormDesigner. To protect control just add the control's name into the ProtectedControls list. There are three ways to do it:

At design time:

  1. Double-click the ProtectedControls property in the Delphi/C++ Builder Object Inspector and add the needed names
  2. Double-click TFormDesigner component and use the component editor
At runtime:
  1. Add the needed names into ProtectedControls list directly. ProtectedControls is a TStrings type, so just use the Add method.
    FormDesigner1.ProtectedControls.Add('Button1');
    

Greatis Software Greatis | Security | AppDatabase | Utilities | Delphi/CB | Visual Basic | .NET | just4fun

Contacts | Add to Favorites | Recommend to a Friend | Privacy Policy | Copyright © 1998-2008 Greatis Software