FSMultiLineTextControl

 

Derived from: public MultiLineTextControl, public FSView

Declared in: FSMultiLineTextControl.h

Library: none


Overview

MultiLineTextControl-derived class which provides font-sensitivity.

 


Constructor and Destructor


FSMultiLineTextControl()

 
      FSMultiLineTextControl(const char* name, const char* label, const char *text,
            BMessage *message, uint32 resizing_mode = B_FOLLOW_LEFT|B_FOLLOW_TOP,
            uint32 flags = B_WILL_DRAW|B_NAVIGABLE)
 
 

Creates a FSMultiLineTextControl at the minimum size necessary to accommodate the label and a single line of text.


Member Functions


RequiredHeight()

 
      float RequiredHeight(int num_lines)
 

Returns the height required to hold the label and num_lines of text.


By Brian Tietz

Copyright 2000

Bug reports (including documentation errors) and feature requests can be sent to briant@timelinevista.com.