PowerTCP Emulation for .NET CF
Pty Property
See Also  Send comments on this topic.
Dart.Common Namespace > PtyBase Class : Pty Property




Gets or sets a display control to use for automatic pseudo terminal support.

Syntax

Visual Basic (Declaration) 
Public Property Pty As TextBoxBase
Visual Basic (Usage)Copy Code
Dim instance As PtyBase
Dim value As TextBoxBase
 
instance.Pty = value
 
value = instance.Pty
C# 
public TextBoxBase Pty {get; set;}
Managed Extensions for C++ 
public: __property TextBoxBase* get_Pty();
public: __property void set_Pty( 
   TextBoxBase* value
);
C++/CLI 
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.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.2
© 2010 Dart Communications. All Rights Reserved.