PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Deleting a column from a Table control
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
ControlDelete (Function)
In french: ChampSupprime
AjaxNot available
Permanently deletes a control from a window, page or report.
WINDEVUniversal Windows 10 AppiPhone/iPad In a window or in a report, this control may have been created in the editor or by ControlClone.
WEBDEV - Server code In this version, this function can only be used to delete a control from a report.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
iPhone/iPad This function is now available in the reports for iPhone/iPad applications.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
iPhone/iPad This function is now available in the reports for iPhone/iPad applications.
Universal Windows 10 App This function is now available in Windows Store apps mode.
iPhone/iPad This function is now available in the reports for iPhone/iPad applications.
Versions 19 and later
iPhone/iPad This function is now available in the windows for iPhone/iPad applications.
New in version 19
iPhone/iPad This function is now available in the windows for iPhone/iPad applications.
iPhone/iPad This function is now available in the windows for iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
WEBDEV - Server code This function is now available for WEBDEV page controls.
WEBDEV - Server code In a page, ControlDelete can only be used to delete the controls created by ControlClone.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
WEBDEV - Server code This function is now available for WEBDEV page controls.
WEBDEV - Server code In a page, ControlDelete can only be used to delete the controls created by ControlClone.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
WEBDEV - Server code This function is now available for WEBDEV page controls.
WEBDEV - Server code In a page, ControlDelete can only be used to delete the controls created by ControlClone.
Versions 23 and later
Android Widget This function is now available in Android widget mode.
Android This function is now available for Android applications.
Java This function is now available for Java applications.
AndroidAndroid Widget Java ControlDelete can only be used to delete the controls created by ControlClone.
New in version 23
Android Widget This function is now available in Android widget mode.
Android This function is now available for Android applications.
Java This function is now available for Java applications.
AndroidAndroid Widget Java ControlDelete can only be used to delete the controls created by ControlClone.
Android Widget This function is now available in Android widget mode.
Android This function is now available for Android applications.
Java This function is now available for Java applications.
AndroidAndroid Widget Java ControlDelete can only be used to delete the controls created by ControlClone.
Example
// Delete a group of controls
FOR I = 1 TO 10
s is string = "EDT_" + I
IF ControlExist(s) = True THEN
ControlDelete(s)
END
END
Syntax
ControlDelete(<Control used>)
<Control used>: Control name
Name of the control or column (in a Table control) to delete. A WLanguage error occurs if this control does not exist.
Remarks

Deleting a column from a Table control

When deleting a column from a Table control, the content of the browsing or memory Table control associated with this column is deleted.

Limits

A deleted control cannot be re-used later as source for cloning controls (ControlClone).
Related Examples:
The ControlClone function Unit examples (WINDEV): The ControlClone function
[ + ] Using ControlClone and ControlDelete.
Component: wd270vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment