PdcOperationList.DeleteLineNumber

From External Bemet Wiki
Revision as of 10:16, 22 May 2012 by Mike (talk | contribs) (Created page with "== Declaration == DeleteLineNumber(LineNo as long) == Description == Removes an operation with the supplied linenumber == Notes == This method deletes one operation in the ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Declaration

DeleteLineNumber(LineNo as long)

Description

Removes an operation with the supplied linenumber

Notes

This method deletes one operation in the operation list. The parameter is the line number of the operation which has to be deleted.
NOTE: The remaining operation lines are renumbered to avoid gaps in line numbers.

Code example

This code example delete line 20 in an operationlist.

dim objCalc

  set objCalc = pdc.ActiveCalculation
  objCalc.OperationList.DeleteLineNumber 20
  objCalc.Refresh

Availability

Available since 2004 (version 2.7).