Property TLClockGen.TTLClockGen.Rate

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
 
(Automated Syncronization with Documentation)
 
(5 intermediate revisions by one user not shown)
Line 10: Line 10:
 
=== Delphi: ===
 
=== Delphi: ===
 
<code>
 
<code>
'''property''' Rate : Single '''read''' FRate '''write''' SetRate;
+
'''property''' Rate : Single '''read''' FRate '''write''' SetRate '''default''' 30;
 
</code>
 
</code>
  
 
=== C++ Builder: ===
 
=== C++ Builder: ===
 
<code>
 
<code>
'''__property''' float Rate = { '''read'''=FRate,  '''write'''=SetRate };
+
'''__property''' float Rate = { '''read'''=FRate,  '''write'''=SetRate,  '''default'''=30 };
 
</code>
 
</code>
  

Latest revision as of 00:10, 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: TTLClockGen

Contents

Syntax

Delphi:

property Rate : Single read FRate write SetRate default 30;

C++ Builder:

__property float Rate = { read=FRate, write=SetRate, default=30 };

Summary

Specifies the clock rate for the generator.

Description

Use this property to specify the desired clock rate for the generator.


Delphi example:

TLClockGen1.Rate := 30;

C++ Builder example:

TLClockGen1->Rate = 30;

Visual C++(MFC/Win32) example:

TLClockGen1.Rate = 30;

Visual C++/CLI example:

clockGen1->Rate = 30;

C# Example:

clockGen1.Rate = 30;

VB example:

ClockGen1.Rate = 30

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox