numberedit ParentColor property
Return to Introduction  Previous page  Next page
Applies to
acEdit, acNumberEdit, acIPEdit, acLabeledComboBox, acMRUComboBox, acImagesComboBox and TacTreeComboBox components as subproperty of AttachedLabel structure.  

property ParentColor: Boolean;  

The ParentColor determines where an attached label looks for its color information.  
To have a control use the same color as its parent control, set ParentColor to true If ParentColor is false the control uses its own Color property.  
Set ParentColor to true for all controls in order to ensure that all the controls on a form have a uniform appearance. For example, if ParentColor is true for all controls in a form, changing the background color of the form to gray causes all the controls on the form to also have a gray background.  
When the value of a control's Color property changes, ParentColor becomes false automatically.  

See also
Color and Transparent properties.