TParamText Class Reference

[tvision Index] [tvision Hierarchy] [Headers]


Used to show dynamic text in a window More...

#include <dialogs.h>

Inherits: TStaticText

Public Members

Protected Members


Detailed Description

Used to show dynamic text in a window.

This class stores a copy of the string. Check TStaticText if you want to show only static text.

See Also: TStaticText


TParamText( const TRect& bounds ) [public]

Constructor.

`bounds' is the bounding rectangle of the view. The string is initially empty.

~TParamText() [public]

Destructor.

void getText( char *s ) [public virtual]

Writes the string at address `s'.

void setText( char *fmt, ... ) [public virtual]

Sets a new value for the string.

Since this method calls vsprintf(), you can use a printf-like style for its arguments.

int getTextLen() [public virtual]

Returns the length of the string expressed in characters.

TStreamable* build() [public static]

Creates a new TParamText.

Used to recover the view from a stream.

char *str[protected]

Stores the pointer to the string.

TParamText( StreamableInit ) [protected]

Constructor.

Used to recover the view from a stream.

void write( opstream& os ) [protected virtual]

Used to store the view in a stream.

void* read( ipstream& is ) [protected virtual]

Used to recover the view from a stream.


Documentation generated by sergio@athena.milk.it on Wed Feb 10 22:11:47 CET 1999
Kdoc