RATING CONTROL
|
Creates a rating control.
SYNTAX
@ <nRow>,<nCol> RATING <cRatingName> [ OF <ParentWindowName> ] ;
[ WIDTH <nWidth>
] ;
[ HEIGHT <nHeight>
] ;
[ PICTURE | FILENAME | FILES <aImages> ] ;
[ STARS <nCount>
] ;
[ RATE | VALUE <nValue>
] ;
[ SPACING <space>
] ;
[ ON CHANGE <OnChangeProcedure> | <bBlock> ] ;
[ TOOLTIP <cToolTipText>
] ;
[ BORDER ] ;
[ VERTICAL ] ;
[ READONLY ]
[ INVISIBLE ] ;
There is the read/write 'Value' property for this control:
FormName.RatingName.Value := nRate
nRate := GetProperty( FormName, ControNamel, 'Value' )
Functions :
ClearRating( Form, Control )
RefreshRating( Form, Control ).
EXAMPLE:
See demos in :
\samples\Basic\RATING)