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
ControlNoSpace (Function)
In French: ChampSansEspace
Warning
From version 17, FieldNoSpace is kept for backward compatibility. This function is replaced by ControlNoSpace.
Specifies whether the space characters on the right of the value found in the control are deleted.
The space characters found on the right of the control are not deleted by default.
Note: This function can be used with the controls found in a report, a window or a page. This function is available for backward compatibility with the Hyper File files in 5.5 format containing space characters.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 19 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 19
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Delete the space characters found on the right of controls
ResDelSpace = ControlNoSpace(True)
Syntax
<Result> = ControlNoSpace(<Deletion of Space Characters>)
<Result>: Boolean
  • True if the spaces to the right of the controls were already deleted (before the call to ControlNoSpace),
  • False otherwise.
<Deletion of Space Characters>: Boolean
  • True if the space characters found on the right of the controls (and in each table column) must be deleted,
  • False otherwise.
Remarks
  • ControlNoSpace affects all the project controls until the next call to ControlNoSpace
  • ControlNoSpace does not apply to combo boxes (editable or not) and to list boxes.
  • ControlNoSpace does not apply when the table columns are assigned by TableAdd.
  • ControlNoSpace does not apply after an input performed by the user: if the user types space characters at the end of the control, these space characters will be retrieved.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230vm.dll
Windows Mobile wp230vm.dll
Linux wd230vm.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment