Declared in <XTextControls.h>
Declared from XGViewAnd this is my standard edit control
Universal Internal Support
XGEditText::CanInsertKey
XGEditText::DeleteChar
XGEditText::DoActivate
XGEditText::DoClear
XGEditText::DoCopy
XGEditText::DoCut
XGEditText::DoMouseDown
XGEditText::DoMouseMove
XGEditText::DoMouseUp
XGEditText::DoPaste
XGEditText::DrawContents
XGEditText::DrawTextFrame
XGEditText::GetTitle
XGEditText::HitDetect
XGEditText::InsertChar
XGEditText::IsSpecialKey
XGEditText::LoseFocus
XGEditText::RecalcScroll
XGEditText::ScrollInRange
XGEditText::SetTitle
XGEditText::ValidateText
XGEditText::XGEditText
XGEditText::~XGEditText
XGEditText:DoDrawView
XGEditText:GainFocus
Universal Internal Support
Usage: bool XGEditText::CanInsertKey(char c)
Can this key be inserted? By default use the attributes that were passed to me
Usage: void XGEditText::DeleteChar()
Delete a character
Usage: void XGEditText::DoActivate(bool)
Handle activation/deactivation (if this thing has the focus)
Usage: void XGEditText::DoClear()
Handle clear operation. This is almost like the DeleteChar() routine above.
Usage: void XGEditText::DoCopy()
Handle copy operation
Usage: void XGEditText::DoCut()
Handle cut operation
Usage: bool XGEditText::DoMouseDown(Point where,short flags)
Handle clicks in this thing
Usage: void XGEditText::DoMouseMove(Point where,short flags)
Handle the mouse move event
Usage: void XGEditText::DoMouseUp(Point,short)
Handle mouse up
Usage: void XGEditText::DoPaste()
Handle paste operation
Usage: void XGEditText::DrawContents(XGDraw&draw)
Draw the contents
Usage: void XGEditText::DrawTextFrame(XGDraw&draw,Rect r)
This draws the frame around the edited text
Usage: void XGEditText::GetTitle(char*text)const
Get the text from this thing
Usage: short XGEditText::HitDetect(XGDraw&draw,short x)
Handle hit detection
Usage: void XGEditText::InsertChar(char c)
Insert a character
Usage: bool XGEditText::IsSpecialKey(char c)
This determines the 'special keys'--those keys which are passed up to the containing view. By default, these are the enter key and the tab key
Usage: void XGEditText::LoseFocus()
Lose the focus. This disables this thing
Usage: void XGEditText::RecalcScroll()
Recalculate the scroll boundaries; this calculates the number of pixels wide the text is
Usage: void XGEditText::ScrollInRange(void)
Scroll the selection into range
Usage: void XGEditText::SetTitle(const char*text)
Set the text in this thing
Usage: bool XGEditText::ValidateText(char*text)
Validate the input. Is this an appropriate input value? By default this transmits a message upwards. A return value of '1' means the text input is not valid.
Usage: Color XGDraw::ColorFromPalette(Color c)
Create this edit text box with the specified location
Usage: XGEditText::~XGEditText()
No longer edit the text in here
Usage: void XGEditText::DoDrawView(Rect)
Draw this thing
Usage: void XGEditText::GainFocus()
Gain the focus. This enables this thing