Class: Text_Window
SuperClass: EDIT
Description: This class implements a text-editing object suitable for
use with Entry_Form and Table objects, which may be bound to a
sequential ASCII file or a database memo-field
Usage: object tw is a Text_Window FOR file.fieldname
set location to ...
set right_margin to ...
set size to ...
end_object
- Construct_Object()
Operation: CONSTRUCT_OBJECT
Assumption(s): none
Goal(s): define an instance with appropriate keys and properties
Algorithm: relies on support module constructors
Usage: used internally
- integerPrivate.Data_File
- integerPrivate.Data_Field
- Zoom()
- Prompt()
- IntegerValidate_Items(Boolean bNotFindReq)
created for server and EntItem support
returns non-zero if data invalid, 0 if no error (valid)
no action by default; intended for augmentation/override
NOTE: if this object's validation fails, this object should
take the focus.
- Display()
created for Server support
- Clear()
created for Server support
- Clear_All()
created for Server support
- Clear_Set()
created for Server support
- Request_Clear()
created for FindEdit support
- Integerobj#
- Integerfoc
- Integerretval
- Request_Clear_All()
created for FindEdit support
- Integerobj#
- Integerfoc
- Integerretval
- Request_Delete()
created for FindEdit support
- Integerobj#
- Request_Save()
created for FindEdit support
- Integerobj#
- IntegerchgdFlag
- Integerretval
- Request_Save_No_Clear()
this allows us to save a record without it clearing regardless of
the Auto_Clear_DEO_State value
- Integeroldclr
- Request_Find(integer mode integer entUpdtFlag)
FindEdit support behavior
- IntegerdataFile
- Integersrvr#
- IntegerdfrdState
- Request_Superfind(integer mode)
created for FindEdit support
- Integerobj#
- Child_Wrapping(integer direction integer xorigID)
created for navigation support
- IntegerorigID
- Top_of_Panel()
created for Navigation support
- Bottom_of_Panel()
created for Navigation support
- IntegerlastChild
- integerData_File(integer item#)
created for EntItem simulation
- Integerretval
- set(integer item# integer newval)
created for EntItem simulation
- integerData_Field(integer item#)
created for EntItem simulation
- Integerretval
- integerItem_Count()
created for EntItem simulation
- set(integer item# integer newval)
created for EntItem simulation
- Entry_Clear(integer ecflag)
created for EntItem simulation: ecflag <> 0 means use Cleared-array
- Integerdfile
- Entry_Clear_All(integer ecaDoneFlag)
created for EntItem simulation:
must clear if ecaDoneFlag = 0 OR if Data_File in DONE-array
- Integerdfile
- Read_File()
msg for action_bar
- Entry_Display(integer file# integer flag)
created for EntItem simulation and Server support:
if file# = 0, display only if Data_File is in Done-array
else display only if file# = Data_File
- Integeroldval
- IntegerdFile
- Entry_Update(integer file# integer flag)
created for EntItem simulation and Server support
if file# = 0, display only if Data_File is in Done-array
else display only if file# = Data_File
- IntegerdFile
- Mode_Insert()
Operation: MODE_INSERT
Assumption(s): none
Goal(s): set INSERT_MODE to True
Algorithm: sets INSERT_MODE to True
Usage:
- Mode_Overwrite()
Operation: MODE_OVERWRITE
Assumption(s): none
Goal(s): set INSERT_MODE to False
Algorithm: sets INSERT_MODE to False
Usage:
- Mark_Block()
Operation: MARK_BLOCK
Assumption(s): none
Goal(s): begin mark of text block in buffer
Algorithm: sets COLUMN_MODE to False and sends MARK_ON
Usage:
- Mark_Column()
Operation: MARK_COLUMN
Assumption(s): none
Goal(s): mark columnar area of text in buffer
Algorithm: sets COLUMN_MODE to True and sends MARK_ON
Usage:
- Cut_Marked_Area()
Operation: CUT_MARKED_AREA
Assumption(s): none
Goal(s): cut marked text to ClipBoard object
Algorithm: sends CUT
Usage:
- Copy_Marked_Area()
Operation: COPY_MARKED_AREA
Assumption(s): none
Goal(s): copy marked text to ClipBoard
Algorithm: sends CUT
Usage:
- Paste_Block()
Operation: PASTE_BLOCK
Assumption(s): none
Goal(s): insert text from ClipBoard into buffer at current position
Algorithm: sends PASTE to ClipBoard object
Usage:
- Update_Dependent_Items()
Operation: UPDATE_DEPENDENT_ITEMS
Assumption(s): none
Goal(s): do nothing (cancels message sent by Server-mixin)
Algorithm: none
Usage:
- Refresh(integer notifyMode)
- End_Construct_Object()