Property ULBasicControl.TULControlBackground.UseParentColor
From Mitov Wiki Doc
				
				
				(Difference between revisions)
				
																
				
				
								
				 (Automated Syncronization with Documentation)  | 
		 (Automated Syncronization with Documentation)  | 
		||
| (13 intermediate revisions by one user not shown) | |||
| Line 10: | Line 10: | ||
=== Delphi: ===  | === Delphi: ===  | ||
<code>  | <code>  | ||
| − | '''property''' UseParentColor : Boolean '''read''' GetUseParentColor '''write''' SetUseParentColor;  | + | '''property''' UseParentColor : Boolean '''read''' GetUseParentColor '''write''' SetUseParentColor '''default''' True;  | 
</code>  | </code>  | ||
=== C++ Builder: ===  | === C++ Builder: ===  | ||
<code>  | <code>  | ||
| − | '''__property''' bool UseParentColor = { '''read'''=GetUseParentColor,  '''write'''=SetUseParentColor };  | + | '''__property''' bool UseParentColor = { '''read'''=GetUseParentColor,  '''write'''=SetUseParentColor,  '''default'''=True };  | 
</code>  | </code>  | ||
Latest revision as of 00:29, 26 June 2013
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Class: TULControlBackground
Contents | 
Syntax
Delphi:
property UseParentColor : Boolean read GetUseParentColor write SetUseParentColor default True;
C++ Builder:
__property bool UseParentColor = { read=GetUseParentColor,  write=SetUseParentColor,  default=True };
Summary
Determines where a control looks for its color information.
Description
To have a control use the same color as its parent control,
set UseParentColor to true. If UseParentColor is false, the
control uses its own Color property.