home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1999 January
/
Chip_1999-01_cd.bin
/
zkuste
/
delphi
/
D1
/
DICE.ZIP
/
DICE.TXT
< prev
Wrap
Text File
|
1995-07-13
|
510b
|
22 lines
This is a free 'Dice' VCL created by Zane Rathwick (CIS 74633,1314).
The methods and properties are listed below.
Properties:
BackColor: TColor
Specifies the backbround color behind the 'Die' (ie the form color)
DiceColor: TColor
Specifies the actual color of the 'Die'
Value: Integer
Specifies the number of dots on the 'Die' (0-6)
Methods:
Roll: Assigns a random value to the 'Die' (ie Dice1.roll)
The random number generator should be seeded before
calling this method.