PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
Identifies the "parent" of a graphic object: control, column, window, page, ...
Versions 16 and later
Linux This function is now available for WINDEV applications in Linux.
New in version 16
Linux This function is now available for WINDEV applications in Linux.
Linux This function is now available for WINDEV applications in Linux.
Example
WEBDEV - Server codeAjax
// COL_Column1 is in TABLE_Table1, which is in the PAGE_Page1 page
ParentObject(COL_Column1)    // Returns "TABLE_Table1"
ParentObject(TABLE_Table1)      // Returns "PAGE_Page1"
Syntax
<Result> = ParentObject(<Object name>)
<Result>: Character string
  • If <Object name> is a control, <Result> corresponds to the name of the window (or page) to which the control belongs (even if the control is in a tab).
  • If <Object name> is a column, <Result> corresponds to the name of the Table control.
  • If <Object name> is a window, <Result> corresponds to the name of the parent window (or to an empty string ("") if <Object name> has no parent window).
  • If <Object name> is a page, <Result> corresponds to the name of the frameset (or to an empty string ("") if <Object name> has no frameset).
<Object name>: Character string (with or without quotes)
Name of the object (control, window, page, column) whose parent must be found. A WLanguage error occurs if the object is unknown.
Remarks
Component : wd240obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment