PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Upload control
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
The Content property is used to read or write the whole content of a control:
  • Memory List Box,
  • Memory Combo Box,
This allows you to read or write all the rows in the control in a single line of code.
Remark: On a browsing List Box or Combo Box control, you only have the ability to read the list of elements.
Versions 15 and later
PHP The Content property can also be used on an Upload control to get the list of uploaded files.
New in version 15
PHP The Content property can also be used on an Upload control to get the list of uploaded files.
PHP The Content property can also be used on an Upload control to get the list of uploaded files.
Versions 21 and later
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Universal Windows 10 App This property is now available in Universal Windows 10 App mode.
Example
// Adds elements to the current content of the List Box control
LIST_List1.Content = LIST_List1.Content + CR + "Tommy" + CR + "Emma"
Windows MobileUser code (UMC)
n is int
// Add the row into the Table control (the Combo Box column being the 2nd one)
n = TableAddLine(TABLE_Table1, "1", "c2")
// Modify the content of the Combo Box column for the added row
// Note: We are using return values via gLink,
// therefore, this option must be enabled in the description of the column
TABLE_Table1.COL_Combo[n].Content = "computer 1" + gLink("c1") + CR + ...
"computer 2" + gLink("c2")
Syntax

Finding out the content of a memory List Box or memory Combo Box control Hide the details

<Control Content> = <Control name>.Content
<Control Content>: Character string
List of elements for the content of the control. The elements are separated by CR characters.
<Control name>: Character string (with or without quotes)
Name of the control to be used. This control must be a:
  • memory List Box, memory Combo Box or "List of values" table column.

Modifying the content of a memory List Box or memory Combo Box control Hide the details

<Control name>.Content = <Control Content>
<Control name>: Character string (with or without quotes)
Name of the control to be used. This control must be a:
  • Memory List Box,
  • Memory Combo Box,
  • "List of values" column,
<Control Content>: Character string
List of elements displayed in the control. The elements are separated by CR characters.
Remarks
Versions 15 and later
Ajax

Upload control

The Content property allows you to get the list of the files selected in a multi-file Upload control. The names of files are separated by CR characters (Carriage Return). For a multi-file Upload control, the name of the selected file is returned.

The name of the files corresponds to the path and to the name of the temporary uploaded file. For example: C\WebDep\Temp\File.upl
This property must be used in the process for Receiving the uploaded files. In the other cases, this property returns an empty string.
This property is equivalent to Value.
New in version 15
Ajax

Upload control

The Content property allows you to get the list of the files selected in a multi-file Upload control. The names of files are separated by CR characters (Carriage Return). For a multi-file Upload control, the name of the selected file is returned.

The name of the files corresponds to the path and to the name of the temporary uploaded file. For example: C\WebDep\Temp\File.upl
This property must be used in the process for Receiving the uploaded files. In the other cases, this property returns an empty string.
This property is equivalent to Value.
Ajax

Upload control

The Content property allows you to get the list of the files selected in a multi-file Upload control. The names of files are separated by CR characters (Carriage Return). For a multi-file Upload control, the name of the selected file is returned.

The name of the files corresponds to the path and to the name of the temporary uploaded file. For example: C\WebDep\Temp\File.upl
This property must be used in the process for Receiving the uploaded files. In the other cases, this property returns an empty string.
This property is equivalent to Value.
Minimum version required
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment