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 18 and later
Universal Windows 10 App This property is now available in Windows Store Apps mode.
New in version 18
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Universal Windows 10 App This property is now available in Windows Store Apps mode.
Versions 20 and later
iPhone/iPad This property is now available for the Table controls and for the table columns in the iPhone/iPad applications.
New in version 20
iPhone/iPad This property is now available for the Table controls and for the table columns in the iPhone/iPad applications.
iPhone/iPad This property is now available for the Table controls and for the table columns in the iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
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,
  • WINDEVWINDEV Mobile Name of the window.

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,
  • WINDEVWINDEV Mobile Name of the window.
<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

WINDEVWINDEV Mobile ..Grayed applies to all types of controls (except for the cells of status bars).
Universal Windows 10 App ..Grayed has no effect on the HTML controls.
Versions 20 and later
iPhone/iPad ..Grayed used on an option of a popup menu allows you to make this option invisible.
New in version 20
iPhone/iPad ..Grayed used on an option of a popup menu allows you to make this option invisible.
iPhone/iPad ..Grayed used on an option of a popup menu allows you to make this option invisible.
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