TLrsDice a dice component for Delphi Date: 21-Aug-95 Programmer: Terje Larsen E-Mail: Terje.Larsen@Alcatel.No What is The TLrsDice component? This is a component devolped for use with Delphi. The purpose of this component is to emulate a dice. Proprerties at design time BackColor: This is the background color of the component. (TColor) Copyright: Copyright message "Copyright © 1995 by Terje Larsen". Hold: If hold is set to true will the value not change when you use the RollDice method. HoldColor: This is the color of the dice when hold is set to true. NormalColor: This is the color of the dice when hold is set to false. RandomSeed: This is a value I'm using in a algorihm to set the RandSeed variable. The RandomSeed property will have different value for each instance of the component. If you don't like the value I calculate feel free to change it, but you have to do it at runtime. Value: This is the actual value of the dice. Proprerties at run time RollDice: This is the method to actual roll the dice. ie. LrsDice1.RollDice; Events OnClick; OnDblClick; OnDragDrop; OnDragOver; OnEndDrag; OnMouseDown; OnMouseMove; OnMouseUp;