PC SOFT

AYUDA EN LÍNEA
DE WINDEV, WEBDEV Y WINDEV MOBILE


WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Otros
Procedimientos almacenados
ValuePerStar (Property)
 
..ValuePerStar is used to find out and modify the value of a star in a Rating control.
Note: This property corresponds to the "Value of a 'star'" option available in the "General" tab of the description window of the Rating control.
Ejemplo
// To use values from 0 to 100 in RATE_Rating1

// The control displays from 0 to 5 stars
RATE_Rating1..MaxValue = 5
// The value of each star is set to 20
RATE_Rating1..ValuePerStar = 20
// The values displayed in the control go from 0 to 100 (5 * 20)
Sintaxis

Finding out the value of a star in a Rating control Ocultar los detalles

<Result> = <Name of Rating Control>..ValuePerStar
<Result>: Real
Value associated with a star.
<Name of Rating Control>: Character string (with or without quotes)
Name of the Rating control to use.

Modifying the value of a star in a Rating control Ocultar los detalles

<Name of Rating Control>..ValuePerStar = <New Value>
<Name of Rating Control>: Character string (with or without quotes)
Name of the Rating control to use.
<New Value>: Real
New value associated with a star (or with any other graphic logo used in the Rating control). This value must be greater than 0. Otherwise, this value is ignored.
Observaciones
  • By default, the value of a star (or any other logo) found in the Rating control is set to 1.
  • The ..Value property of the Rating control corresponds to the number of stars multiplied by the value of ..ValuePerStar.
  • The maximum number of stars found in a Rating control is returned by ..MaxValue.
Versión mínima requerida
  • Versión 21
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario