ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
  • Initializing the NewLine property
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
The NewLine property is used to determine:
  • in a Table control, whether the current row was created with TableAdd, TableAddLine, TableInsert or TableInsertLine.
  • in a Looper control, whether the current row was created with LooperAdd, LooperAddLine, LooperInsert or LooperInsertLine.
  • WINDEV in an Organizer control, whether an appointment was created via the popup menu. This property can be used in the "Entry in edit in an appointment" and "Exit from input for the appointment" events.
  • WINDEVWEBDEV - Server codePHP in a Scheduler control, whether an appointment was created via the popup menu. This property can be used in the "Entry in edit in an appointment" and "Exit from input for the appointment" events.
Remark: The NewLine property can be used on controls linked to a data file and controls handled programmatically.
Example
// Checks whether the current row in "TABLE_CustomerTable" was just created
ResNew = TABLE_CustomerTable.NewLine
Syntax
<Result> = <Control used>.NewLine
<Result>: Boolean
<Control used>: Control name
Name of the control to be used:
  • Table control,
  • Looper control,
  • WINDEV Organizer control.
  • WINDEVWEBDEV - Server codePHP Scheduler control.
Remarks

Initializing the NewLine property

The NewLine property is initialized to True by:
This property is initialized to False after the execution of the "Row exit" event, except if this process contains:
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 12/22/2022

Send a report | Local help