PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
  • Initialization of the Property NewLine
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 Property New allows you to know:
  • in a Table control, whether the current row was created by TableAdd, TableAddLine, TableInsert or TableInsertLine.
  • in a Looper control, whether the current row was created by LooperAdd, LooperAddLine, LooperInsert or LooperInsertLine.
  • Versions 16 and later
    WEBDEV - Server codePHP in a Scheduler control, whether an appointment was created via the popup menu. This property can be used in the events "Entry in edit in an appointment" and "Exit from input for the appointment".
    New in version 16
    WEBDEV - Server codePHP in a Scheduler control, whether an appointment was created via the popup menu. This property can be used in the events "Entry in edit in an appointment" and "Exit from input for the appointment".
    WEBDEV - Server codePHP in a Scheduler control, whether an appointment was created via the popup menu. This property can be used in the events "Entry in edit in an appointment" and "Exit from input for the appointment".
Remark: The Property New can be used on an browsing control as well as on a memory Control.
Example
// Checks whether the current row in "TABLE_CustomerTable" was just created
ResNew = TABLE_CustomerTable.NewLine
Syntax
<Result> = <Control used>New
<Result>: Boolean
  • True if:
    • in the Table control, the current row was just created by TableAdd, TableAddLine, TableInsert or TableInsertLine.
    • in the Looper control, the current row was just created by LooperAdd, LooperAddLine, LooperInsert or LooperInsertLine.
    • Versions 16 and later
      WEBDEV - Server codePHP in a Scheduler control, an appointment was just created via the popup menu.
      New in version 16
      WEBDEV - Server codePHP in a Scheduler control, an appointment was just created via the popup menu.
      WEBDEV - Server codePHP in a Scheduler control, an appointment was just created via the popup menu.
  • False otherwise (if the current element in the control comes from the linked file for example).
<Control used>: Control name
Name of control to use:
  • Table control,
  • Looper control,
  • Versions 16 and later
    WEBDEV - Server codePHP Scheduler control.
    New in version 16
    WEBDEV - Server codePHP Scheduler control.
    WEBDEV - Server codePHP Scheduler control.
Remarks

Initialization of the Property NewLine

The Property NewLine is initialized to True by:
This property is initialized as 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