ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV 2024 feature!
Help / WLanguage / WLanguage functions / Controls, pages and windows / 
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
Loads a WLanguage code file in a Code Editor control. This file contains the WLanguage code to be displayed in the control.
Example
sFile is string
// Opens the file picker
sFile = fSelect("", "", "Select a file...", "WLangage code (*.WL)" + TAB + "*.WL", "*.WL")

IF sFile <> "" THEN
// Loads the file into the Code Editor control
CodeEditorLoad(CODEEDT_Example, sFile)
END
Syntax
<Result> = CodeEditorLoad(<Code Editor control> , <File to load>)
<Result>: Boolean
  • True if the file was loaded into the Code Editor control,
  • False otherwise.
<Code Editor control>: Control name
Name of the Code Editor control to be used.
<File to load>: Character string
Name and full path of the file to be loaded. This file corresponds to a file previously saved with CodeEditorSave.
Business / UI classification: UI Code
Component: wd290obj.dll
Minimum version required
  • Version 2024
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/07/2024

Send a report | Local help