📄 lcd99.htm
字号:
<li>The control takes some time to update itself when you are using animations.
I have not yet found a solution to this problem, but it is only a minor problem.</li>
</font>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Key properties:</b></font></p>
<ul>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<li><b>property About;</b><br>
If you set this to <b>abAbout</b>, the component information is shown.</li>
<li><b>property Align;</b><br>
Determines how the control is aligned within its parent.</li>
<li><b>property Animation;</b><br>
Determines the animation that is used to update the display. Selecting <b>anRandom</b>
chooses a random animation per update.</li>
<li><b>property AnimationDelay;</b><br>
Specifies the delay in an animation for updating whole the display.</li>
<li><b>property Color;</b><br>
Determines the colour of the control.</li>
<li><b>property DigitNum;</b><br>
Determines the number of digits that are displayed on the display.</li>
<li><b>property DigitSpacing;</b><br>
Determines the amount of space, in pixels, between digits.</li>
<li><b>property DotDisplay;</b><br>
If this is set to <b>True</b>, the control looks like a dotted LCD display.</li>
<li><b>property DotSpacing;</b><br>
Determines the amount of space, in pixels, between the dots in each segment.</li>
<li><b>property DoubleBuffer;</b><br>
If this is set to <b>True</b>, double buffering is enabled.</li>
<li><b>property DragCursor;</b><br>
Determines the mouse pointer that is displayed when an object is dragged over
the control.</li>
<li><b>property DragMode;</b><br>
If this is set to automatic, the control can be dragged and dropped at any
time. If this is set to manual, the control can only be dragged when the <b>BeginDrag</b>
method is called.</li>
<li><b>property Enabled;</b><br>
If this is set to <b>False</b>, the control cannot be used until this is set
to true.</li>
<li><b>property GapX;</b><br>
This determines how much horizontal space is unused by a segment.</li>
<li><b>property GapY;</b><br>
This determines how much vertical space is unused by a segment.</li>
<li><b>property IsPainting;</b><br>
Indicates if the control is painting itself.</li>
<li><b>property OffColor;</b><br>
This is the colour used for displaying inactive segments.</li>
<li><b>property OnColor;</b><br>
This is the colour used for displaying active segments.</li>
<li><b>property PaintDuration;</b><br>
Indicates the time spent on painting the control.</li>
<li><b>property ParentShowHint;<br>
</b>If this is set to <b>True</b>, the parent of the control displays the
hints.</li>
<li><b>property PopupMenu;<br>
</b>If this is set, right clicking the control displays the set popup menu.</li>
<li><b>property Preview;<br>
</b>If this is set to <b>True</b>, the animations can be previewed at design
time.</li>
<li><b>property SegmentSize;<br>
</b>This determines the size of the segments.</li>
<li><b>property ShowHint;<br>
</b>If this is set to <b>True</b>, the control displays its own popup hints.</li>
<li><b>property Value;<br>
</b>Determines the value that is displayed. You can enter any number and create
spaces between digits by using space characters.</li>
<li><b>property Visible;<br>
</b>If this is set to <b>False</b>, the control cannot be seen.</li>
</font>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>Key events:</b></font></p>
<ul>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2"> </font>
<li><font face="Verdana, Arial, Helvetica, sans-serif" size="2"><b>property
OnChange: TLcdChangeProc;<br>
</b>Occurs when the display value is changed.</font><font face="Verdana, Arial, Helvetica, sans-serif" size="2">
</font></li>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<li><b>property OnClick: TNotifyEvent;<br>
</b>Occurs when the control is selected.</li>
<li><b>property OnDblClick: TNotifyEvent;<br>
</b>Occurs when the control is double-clicked.</li>
<li><b>property OnDragDrop: TNotifyEvent;<br>
</b>Occurs when an object being dragged is dropped.</li>
<li><b>property OnDragOver: TNotifyEvent;<br>
</b>Occurs when an object is dragged over the control.</li>
<li><b>property OnEndDrag: TNotifyEvent;<br>
</b>Occurs whenever the dragging of an object ends, either by dropping the
object or by cancelling the dragging.</li>
<li><b>property OnMouseDown: TNotifyEvent;<br>
</b>Occurs when a mouse button is pressed with the pointer over the control.</li>
<li><b>property OnMouseMove: TNotifyEvent;<br>
</b>Occurs when the pointer is moved whilst over the control.</li>
<li><b>property OnMouseUp: TNotifyEvent;<br>
</b>Occurs when a mouse button that was pressed is released with the pointer
over the control.</li>
</font>
</ul>
<p><font face="Arial, Helvetica, sans-serif" size="3"><a name="History"><b>Revision
history</b></a></font></p>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">V1.8 (15/10/2000)</font></p>
<ul>
<li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Added an <b>OnChange</b>
event, which allows the user to specify what happens when the display value
is changed. Thanks to <a href="mailto:mheydon@eoh.co.za"><b>Mike Heydon</b></a>
for the code.</font></li>
<li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Added <b>GetNumericValue</b>
and <b>SetNumericValue</b> routines, allowing the user to quickly retrive
and set numeric values on the display. Thanks to <a href="mailto:mheydon@eoh.co.za"><b>Mike
Heydon</b></a> for the code.</font></li>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2"></font><font face="Verdana, Arial, Helvetica, sans-serif" size="2">V1.73
(19/08/2000)</font></p>
<ul>
<li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Bug Fixed -
The digits weren't being displayed correctly due to the bug fix in v1.72.</font></li>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">V1.72 (12/08/2000)</font></p>
<ul>
<li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Bug Fixed -
Decimal points weren't being positioned correctly on the display.</font></li>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">V1.71 (29/07/2000)</font></p>
<ul>
<li><font face="Verdana, Arial, Helvetica, sans-serif" size="2">Added a <b>DotSpacing</b>
property, which allows you to control the space between the dots in each segment.</font></li>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">V1.7 (26/07/2000)</font></p>
<ul>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<li>Added a <b>DotDisplay</b> property, which allows the control to look like
a dotted LCD display.</li>
</font>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">V1.65 (03/06/2000)</font></p>
<ul>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<li>Bug Fixed - Setting the value to a blank string sometimes caused errors.</li>
</font>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">V1.64 (01/02/2000)</font></p>
<ul>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<li>Bug Fixed - In the previous version, the wrong alphabetical characters were
displayed.</li>
</font>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">V1.63 (12/01/2000)</font></p>
<ul>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<li>Added a <b>DoubleBuffer</b> property for double buffering. Thanks to <a href="mailto:alan.warriner@bigfoot.com"><b>Alan
Warriner</b></a> for this.</li>
<li>Added an <b>IsPainting</b> property to indicate when the control is being
painted. Thanks to <a href="mailto:alan.warriner@bigfoot.com"><b>Alan Warriner</b></a>
for this.</li>
<li>Added a <b>PaintDuration</b> property to indicate the painting speed. Thanks
to <a href="mailto:alan.warriner@bigfoot.com"><b>Alan Warriner</b></a> for
this.</li>
<li>Added a <b>Preview</b> property to enable the user to preview animations
at design time. Thanks to <a href="mailto:alan.warriner@bigfoot.com"><b>Alan
Warriner</b></a> for this.</li>
<li>Improved the animation delays in the animations. Thanks to <a href="mailto:alan.warriner@bigfoot.com"><b>Alan
Warriner</b></a> for this.</li>
</font>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">V1.62 (04/09/1999)</font></p>
<ul>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<li>Delphi 5.0 is now supported!</li>
</font>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">V1.61 (17/08/1999)</font></p>
<ul>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<li>Added a message hook to help reduce flickering.</li>
</font>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">V1.6 (12/08/1999)</font></p>
<ul>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<li>Added support for the colon. Thanks to <a href="mailto:danysz@applicom.co.il"><b>Daniel
Szasz</b></a> for providing the original code for this.</li>
</font>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">V1.5 (07/08/1999)</font></p>
<ul>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<li>Added <b>GapX</b>, <b>GapY</b> and <b>SegmentSize</b> properties to the
control, which control the segment sizes. The <b>ScaleX</b> and <b>ScaleY</b>
properties have been removed because of this.</li>
<li>Letters of the alphabet and decimal points can now be displayed.</li>
<li>Made some improvements to the segment drawing routines.</li>
</font>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">V1.4 (13/07/1999)</font></p>
<ul>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<li>Bug Fixed - In the value setting routine, invalid characters were occasionally
allowed to slip through unnoticed.</li>
<li>Made a few improvements to the animation delays. The delay now takes into
account how long the control has spent updating itself, so the delay should
be more accurate.</li>
</font>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">V1.3 (09/07/1999)</font></p>
<ul>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<li>The control now supports negative numbers. To leave the display blank, you
now enter nothing in the value property.</li>
<li>Digits can now be separated within the display by using space characters.</li>
</font>
</ul>
<p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">V1.2 (28/06/1999)</font></p>
<ul>
<font face="Verdana, Arial, Helvetica, sans-serif" size="2">
<li>The control now correctly updates itself when a value of
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -