PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Used to get the rights granted to a control, a window, a page or a report.
Versions 19 and later
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
New in version 19
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
WEBDEV - Server codeWindows This function is now available for the WEBDEV sites in Windows.
Example
nState is int = gpwGetRights("MyWindow", "MyControl")
Syntax
<Result> = gpwGetRights(<Parent Element> [, <Control Name> [, <User> [, <Group>]]])
<Result>: Integer constant
Type of element:
gpwStateDefaultThe control has the "Default" status.
gpwStateGrayedThe control is grayed.
gpwStateInactiveThe control is inactive.
gpwStateInvisibleThe control is invisible.
<Parent Element>: Character string (with or without quotes)
Name of the window, page or report containing the control.
<Control Name>: Optional character string (with or without quotes)
Name of control to use.
<User>: Optional character string (with quotes)
Name of the user whose rights are requested.
<Group>: Optional boolean
  • True to find the rights granted to the group,
  • False to find the rights granted to a user.
Components
WINDEVWEBDEV - Server code wd230gpu.dll
Linux wd230gpu.so
Minimum required version
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment