Common Methods


Every component has the following Methods.

<>.LogProperties

Parameters: Title: String
                             ParentProp: String
                             Indent: String
This method dumps the current value of all of a control's properties to its TeleScope.Log. This method calls all of the other <>.LogProperties methods for the control. This is very useful for debugging.

There is a button on each of the TeleScopes that calls this method.

<>.About.LogProperties

Parameters: Title: String
                             ParentProp: String
                             Indent: String
This method dumps the current value of the control's About properties to its TeleScope.Log. This is very useful for debugging. For example:

   AboutCompany = "ExceleTel Inc."
     AboutLevel = "Enterprise"
     AboutLines = "Unlimited"
     AboutName = "TeleTools"
     AboutSerialNumber = "xxxx-xxxx-xxxx-xxxx"
     AboutUser = "Tom Jones"
     AboutVersion = "v3.7.1.0"

<>.Device.LogProperties

Parameters: Title: String
                             ParentProp: String
                             Indent: String
This method dumps the current value of the control's Device properties to its TeleScope.Log. This is very useful for debugging.

<>.Error.LogProperties

Parameters: Title: String
                             ParentProp: String
                             Indent: String
This method dumps the current value of the control's Error properties to its TeleScope.Log. This is very useful for debugging.

<>.Popup.LogProperties

Parameters: Title: String
                             ParentProp: String
                             Indent: String
This method dumps the current value of the control's Popup properties to its TeleScope.Log. This is very useful for debugging.

<>.TeleScope.Log.Add

Parameters: TimeStamp: Boolean
                             NewStr: String
This method adds a line to the TeleScope.Log. This is very useful for debugging. For example:

     etLine1.TeleScope.Log.Add(True,"My program is calling xxx routine");

<>.TeleScope.Log.Clear

Parameters: <none>
This method clears the contents of the TeleScope.Log. This is very useful for debugging. For example:

     etLine1.TeleScope.Log.Clear;

<>.TeleScope.Log.Copy

Parameters: <none>
This method copies the contents of the TeleScope.Log to the Windows clip. This is very useful for debugging. For example:

     etLine1.TeleScope.Log.Copy;

<>.TeleScope.Log.LogProperties

Parameters: Title: String
                             ParentProp: String
                             Indent: String
This method dumps the current value of the control's TeleScope.Log properties to its TeleScope.Log. This is very useful for debugging.

<>.TeleScope.Log.Print

Parameters: <none>
This method prints the contents of the TeleScope.Log to the Windows default printer. This is very useful for debugging. For example:

     etLine1.TeleScope.Log.Print;

<>.TeleScope.LogProperties

Parameters: Title: String
                             ParentProp: String
                             Indent: String
This method dumps the current value of the control's TeleScope properties to its TeleScope.Log. This is very useful for debugging.

<>.TeleScope.Log.Update

Parameters: TimeStamp: Boolean
                             NewStr: String
This method append a string to the last line to the TeleScope.Log. This is very useful for debugging. For example:

     etLine1.TeleScope.Log.Update(".... Done");