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
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.
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 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.
Component : wd240vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment