To open any link in a new tab, preserving your position in the current article, just hold down the <CTRL> key on your keyboard before clicking the link or click using your mouse wheel.

Functions - System Locked - FD

Functions - System Locked

Returns True if the property is locked by the system.

Syntax:

Function: SystemLocked: Boolean;

API Calls

Delphi

Using IItem Object Model
procedure pshiddenlocked;
var
  ps: IPlanSwift;
  itm: IItem;
  i: Integer;
  prop: IPropertyObject;
  txt: string;
  sh: string;
  sl: string;
begin
  //Create Planswift Interface
  ps := coplanswift.create;
  //Get the selected Item
  itm := ps.SelectedItem;
  //Check if item is not empty
  if varisclear(itm) then begin
    showMessage('Please Select a Item');
    ps := nil;
    Exit;
  end;
  //Get the Parent Item
  itm := itm.parentItem;
  //Cycle through all properties and get system hidden and locked values
  for i := 0 to itm.PropertyCount - 1 do  begin
    prop := itm.PropertyItem[i];
    //if hidden return "True" else Return "False"
    if prop.SystemHidden then sh := 'True' else sh := 'False';
    //if Locked return "True" else Retrun "False
    if prop.SystemLocked then sl := 'True' else sl := 'False';
    //Set string to hold value
    txt := txt + Prop.name + ': System Hidden = ' + sl + ' System Locked: ' + sh + #13#10;
  end;
  //Show message with Results
  ShowMessage(txt);
  //Free Planswift Interface
  ps := nil;
end;
Using PlanSwift Object Model
 

C#

Using IItem Object Model
 
Using PlanSwift Object Model
 

VB/VBA (OLE)

Using IItem Object Model
 
Using PlanSwift Object Model
 

Pascal Scripting (OLE)

Item Object Model
 
Root Object Model
 

Pascal Scripting

Item Object Model
 
Using the PlanSwift Object Model
 


Copyright 2023 ConstructConnect