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
WEBDEV - Server codeWindowsLinux This property is now available for WEBDEV sites in Windows and Linux.
WEBDEV - Browser code This property is now available in browser code.
PHP This property is now available for the PHP sites.
New in version 22
WEBDEV - Server codeWindowsLinux This property is now available for WEBDEV sites in Windows and Linux.
WEBDEV - Browser code This property is now available in browser code.
PHP This property is now available for the PHP sites.
WEBDEV - Server codeWindowsLinux This property is now available for WEBDEV sites in Windows and Linux.
WEBDEV - Browser code This property is now available in browser code.
PHP This property is now available for the PHP sites.
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

Versions 22 and later
WEBDEV - Server code ..Grayed does not apply to the following controls:
  • Menu control,
  • Flash control,
  • Web Camera control,
  • Pager control,
  • iFrame control,
  • Drawer control,
  • Cell,
  • Silverlight control,
  • Flex control,
  • Captcha control,
  • Progress Bar control,
  • Social Link control, ...
See the list of available properties for the requested control.
New in version 22
WEBDEV - Server code ..Grayed does not apply to the following controls:
  • Menu control,
  • Flash control,
  • Web Camera control,
  • Pager control,
  • iFrame control,
  • Drawer control,
  • Cell,
  • Silverlight control,
  • Flex control,
  • Captcha control,
  • Progress Bar control,
  • Social Link control, ...
See the list of available properties for the requested control.
WEBDEV - Server code ..Grayed does not apply to the following controls:
  • Menu control,
  • Flash control,
  • Web Camera control,
  • Pager control,
  • iFrame control,
  • Drawer control,
  • Cell,
  • Silverlight control,
  • Flex control,
  • Captcha control,
  • Progress Bar control,
  • Social Link control, ...
See the list of available properties for the requested control.
Versions 22 and later
WEBDEV - Browser code ..Grayed does not apply to the following controls:
  • Menu control,
  • Flash control,
  • Web Camera control,
  • Pager control,
  • iFrame control,
  • Drawer control,
  • Table control,
  • Thumbnail control,
  • Looper control,
  • Linear Looper control,
  • Cell,
  • Table column,
  • Silverlight control,
  • Flex control,
  • Captcha control,
  • Progress Bar control,
  • Social Link control, ...
See the list of available properties for the requested control.
New in version 22
WEBDEV - Browser code ..Grayed does not apply to the following controls:
  • Menu control,
  • Flash control,
  • Web Camera control,
  • Pager control,
  • iFrame control,
  • Drawer control,
  • Table control,
  • Thumbnail control,
  • Looper control,
  • Linear Looper control,
  • Cell,
  • Table column,
  • Silverlight control,
  • Flex control,
  • Captcha control,
  • Progress Bar control,
  • Social Link control, ...
See the list of available properties for the requested control.
WEBDEV - Browser code ..Grayed does not apply to the following controls:
  • Menu control,
  • Flash control,
  • Web Camera control,
  • Pager control,
  • iFrame control,
  • Drawer control,
  • Table control,
  • Thumbnail control,
  • Looper control,
  • Linear Looper control,
  • Cell,
  • Table column,
  • Silverlight control,
  • Flex control,
  • Captcha control,
  • Progress Bar control,
  • Social Link control, ...
See the list of available properties for the requested control.
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