Property ULBasicControl.TULColorItem.Range

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
(Automated Syncronization with Documentation)
 
(6 intermediate revisions by one user not shown)
Line 10: Line 10:
 
=== Delphi: ===
 
=== Delphi: ===
 
<code>
 
<code>
'''property''' Range : Single '''read''' FRange '''write''' SetRange;
+
'''property''' Range : Single '''read''' FRange '''write''' SetRange '''default''' 1.0;
 
</code>
 
</code>
  
 
=== C++ Builder: ===
 
=== C++ Builder: ===
 
<code>
 
<code>
'''__property''' float Range = { '''read'''=FRange,  '''write'''=SetRange };
+
'''__property''' float Range = { '''read'''=FRange,  '''write'''=SetRange,  '''default'''=1.0 };
 
</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: TULColorItem

Contents

Syntax

Delphi:

property Range : Single read FRange write SetRange default 1.0;

C++ Builder:

__property float Range = { read=FRange, write=SetRange, default=1.0 };

Summary

Specifies the range for the color.

Description

Use this property to specify the range for the color.

The range is a relative weight for the size the color will take from the whole range of colors.

Colors with bigger range take longer area than other colors.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox