Help / WLanguage / WLanguage functions / Controls, pages and windows / Control functions
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
ControlNoSpace (Function)
In french: ChampSansEspace
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.
Remark: 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.
// Delete the space characters found on the right of controls
ResDelSpace = ControlNoSpace(True)
<Result> = ControlNoSpace(<Deletion of Space Characters>)
<Result>: Boolean
  • True if the spaces to the right of the controls were already removed (before ControlNoSpace was called),
  • 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.
  • ControlNoSpace affects all project controls until the next call to ControlNoSpace
  • ControlNoSpace does not affect Combo Box or List Box controls (editable or not).
  • 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: wd290vm.dll
Minimum version required
  • Version 9
This page is also available for…
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help