GRADIENTSTYLE Property

Windows. EditLines and EditBoxes

Sets and retrieves the gradient style of the background color of a window.

gradient = Get_Property(objectname,"GRADIENTSTYLE")

currentStyle = Set_Property(objectname,"GRADIENTSTYLE", gValue)

Values passed in Set_Property():

ValueDescription
gValueAn integer value denoting one of the gradient styles listed below
ValueGradient Style
1Vertical (default)
2Horizontal
3Ellipse
4Pyramid (rectangle)
5Mount (round rectangle)

Note: The background color must be set and the Background Color checkbox in the Window's Property Dialog must be checked.

Values returned by Get_Property and Set_Property

ValueDescription
gradientThe current value of the window's gradient style.
existingGradientThe window's gradient style prior to the setting of the style.
Declare function Set_Property

 

$Insert Colors

equ Vertical$ to 1

 

vBackColor = Red$ : @fm : Black$ : @fm : 0

 

prevBack = Set_Property(@window, "BACKCOLOR", vBackColor)

prevGrad = Set_Property(@window, "GRADIENTSTYLE", Vertical$)
 
 
  • guides/programming/programmers_reference_manual/gradient.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1