Mega Code Archive

 
Categories / Delphi / VCL
 

Creating non-visual components without icons

Question: How I do to create a nonvisual component that does not show up on the component palette at design time (such as a TField)? Answer: Nonvisual components without icons are useful for components that are always subcomponents associated with other components. Use RegisterNoIcon instead of RegisterComponent, and then create the component as you would normally.