PowerTCP Emulation for .NET
Pty Property




Gets or sets a display control to use for automatic pseudo terminal support.
Syntax
<DefaultValueAttribute()>
Public Property Pty As TextBoxBase
Dim instance As PtyBase
Dim value As TextBoxBase
 
instance.Pty = value
 
value = instance.Pty
[DefaultValue()]
public TextBoxBase Pty {get; set;}
[DefaultValue()]
public: __property TextBoxBase* get_Pty();
public: __property void set_Pty( 
   TextBoxBase* value
);
[DefaultValue()]
public:
property TextBoxBase^ Pty {
   TextBoxBase^ get();
   void set (    TextBoxBase^ value);
}
Remarks

Set this property to a control derived from TextBoxBase and call Connect to start an online session. Data received from the host will be displayed, and keyboard input will automatically be sent to the remote host.

The Multiline property on the Pty control is set to true. You may wish to set the Font property to a fixed-width font and set the Wordwrap property to false. Also, if the SynchronizingObject is null, it will be set to the Pty control.

These properties can be changed from their default values after this property is set.

See Also

Reference

PtyBase Class
PtyBase Members


PowerTCP Emulation for .NET Documentation Version 4.7
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic