PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Equivalence
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
..Grayed is used to:
  • Find out whether a control, a group of controls or a window is grayed or not.
  • Gray or ungray a control, a group of controls or a window.
Versions 22 and later
Windows This property is now available for WEBDEV sites in Windows and Linux.
New in version 22
Windows This property is now available for WEBDEV sites in Windows and Linux.
Windows This property is now available for WEBDEV sites in Windows and Linux.
Example
IF EDT_PRICE > 100 THEN
GR_ShippingCost..Grayed = True
END
Syntax

Finding out whether an element is grayed Hide the details

<Result> = <Element name>..Grayed
<Result>: Boolean
  • True if the element is grayed,
  • False otherwise.
<Element name>: Character string (with or without quotes)
Name of element to use:
  • Name of control,
  • Name of group of controls,

Modifying the grayed status for an element Hide the details

<Element name>..Grayed = <New value>
<Element name>: Character string (with or without quotes)
Name of element to use:
  • Name of control,
  • Name of group of controls,
<New value>: Boolean
  • True if the element must be grayed,
  • False otherwise.
Remarks

Equivalence

..Grayed set to True is equivalent to ..State equal to the Grayed constant except for the read-only controls that keep their "read-only" status.

Limits

Minimum version required
  • Version 17
This page is also available for…
Comments
Video Grayed
https://youtu.be/bYvKSTs61uk

https://windevdesenvolvimento.blogspot.com/2019/01/dicas-2001-windev-comandos-36.html
amarildo
30 Jan. 2019