Class: find_edit_mixin

Module location: findedit.pkg line 73 (view source)

Class Hierarchy:

cObjectMixinfind_edit_mixin

Class Definition

Properties

IntegerAuto_Clear_DEO_State
IntegerAuto_Save_State

Functions and Procedures

define_find_edit()
Description This procedure defines the accelerator keys and properties required to support the data-editing standard for data-entry objects. This includes accelerator keys to support the finding, clearing, saving, and deleting of database records, and two properties governing certain automatic functions of editing (see Notes). Assumptions/Preconditions This procedure should only be called from within the Construct_Object procedure of a class definition. Exceptions None. Notes The Auto_Save_State property governs whether a Save is automatically issued upon rotation wrap-around (from the last object/item to the first object/item). The Auto_Clear_DEO_State property governs whether a Clear is automatically issued after a successful Save or Delete operation.
BooleanDeo_Find_Object()
Returns True to indicate that this DEO supports the Find mixin protocol. This is used by menu items to determine if you are within a DEO control finding obejct and should therefore send a DEO message.
Find_First()
3/22/2002: Added find_first and Find_last. Previously this was accomplished by sending beginning_of_data and end_of_data. The problem with that message is that it had multiple meaning. In a edit or grid, it means go to top/bottom of file. In forms, it means first last record. Since we can not change this without breaking existing programs we will create a message that *always* does a find first/last record. This can be used in tool bars (or anywhere) to consistently provide the same behavior.
Find_GE()
Description This procedure finds greater-than-or-equal-to using the file and field, if any, of the current item. Assumptions/Preconditions None. Exceptions None. Notes Depends entirely upon Request_Find.
Find_Last()
Find_Next()
Description This procedure finds greater-than using the file and field, if any, of the current item. Assumptions/Preconditions None. Exceptions None. Notes Depends entirely upon Request_Find.
Find_Previous()
Description This procedure finds less-than using the file and field, if any, of the current item. Assumptions/Preconditions None. Exceptions None. Notes Depends entirely upon Request_Find.
SuperFind()
Description This procedure superfinds greater-than-or-equal-to using the file and field, if any, of the current item. Assumptions/Preconditions None. Exceptions None. Notes Depends entirely upon Request_SuperFind.
SuperFind_Next()
Description This procedure superfinds greater-than using the file and field, if any, of the current item. Assumptions/Preconditions None. Exceptions None. Notes Depends entirely upon Request_SuperFind.
SuperFind_Previous()
Description This procedure superfinds less-than using the file and field, if any, of the current item. Assumptions/Preconditions None. Exceptions None. Notes Depends entirely upon Request_SuperFind.
IntegerWrapping()