ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Control functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
ControlNoSpace (Function)
In french: ChampSansEspace
Warning
From version 17, FieldNoSpace is kept for backward compatibility. This function has been replaced with 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 on report, window or page controls.. This function is available for backward compatibility with the Hyper File files in 5.5 format containing space characters.
Example
// Suppression des espaces à droite des champs
ResSuppEspace = ControlNoSpace(True)
Syntax
<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.
Remarks
  • 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.
  • The ControlNoSpace function does not apply after user input: if the user types spaces at the end of the field, these spaces are recovered.
Component: wd300vm.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help