Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== GRADIENTSTYLE Property ====== ==== Applies To ==== Windows. EditLines and EditBoxes ==== Description ==== Sets and retrieves the gradient style of the background color of a window. ==== Usage ==== gradient = Get_Property(objectname,"GRADIENTSTYLE") currentStyle = Set_Property(objectname,"GRADIENTSTYLE", gValue) ==== Remarks ==== Values passed in Set_Property(): ^Value^Description^ |gValue|An integer value denoting one of the gradient styles listed below| ^Value^Gradient Style^ |1|Vertical (default)| |2|Horizontal| |3|Ellipse| |4|Pyramid (rectangle)| |5|Mount (round rectangle)| Note: The background color must be set and the Background Color checkbox in the Window's Property Dialog must be checked. ==== Returns ==== Values returned by Get_Property and Set_Property ^Value^Description^ |gradient|The current value of the window's gradient style.| |existingGradient|The window's gradient style prior to the setting of the style.| ==== See Also ==== [[backcolor|BACKCOLOR property]], [[forecolor|FORECOLOR property]], [[choosecolor_service|CHOOSECOLOR Utility() service]] ==== Example ==== <code> 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$) </code> guides/programming/programmers_reference_manual/gradient.txt Last modified: 2024/06/19 20:20by 127.0.0.1