Derived from: BTextControl
Declared in: stringControl.h
Library: libBeGUI.so
The StringControl Class is used to gather simple one line string data. It may be used for numerical data, but specialized number entry gadgets are provided (see UInt32Gadget, FloatGadget etc.).
Note: This control is not font sensitive. This has been replaced by a much more functional StringGadget (see StringGadget).
This is the constructor. The parameter paramName sets the name of the gadget--it may be NULL, if not it may be useful in scripts.
The parameter paramLabel is used to label the gadget--it may be NULL, in which case the gadget will have no label.
The parameter paramText sets the initial entry string--it may be NULL.
The parameter uparamMsg is the value of the message this gadget will send when a carriage return is pressed.
The parameter paramTextViewWidth is the width of the text entry area, it may be 0 (zero), in which case the size is calculated from the initial entry string.
The parameter paramLayoutMatrix is the LayoutMatrix to which this gadget will be attached.
The parameter paramMakeFocus has a default value of false, and only needs to be set to true when you wish this gadget to have focus immediately upon window creation.
This is the destructor. It does nothing.
This just overrides the BTextControl method to provide color control and to set focus, it calls the inherited version.
for version 1.4.2
Copyright © 1998-1999 Ed Musgrove Be Developer #2076. All rights reserved.
edgar@harbornet.com
emusgrov@linknet.kitsap.lib.wa.us
Last modified March 17, 1999.