Module Dd_deomx.pkg

************************************************************************ Confidential Trade Secret. Copyright (c) 1997 Data Access Corporation, Miami Florida as an unpublished work. All rights reserved. DataFlex is a registered trademark of Data Access Corporation. ************************************************************************ ****************************************************************************// // $File name : DD_DEOMX.PKG // $File title : // Notice : // $System : Extended Data Sets 3.1 // Created : 16-02-96 @ 17:33:31 // $Last Rev : 29-02-96 @ 14:24:41 // // $Description // // // $Rev History // JT 4/14/99 Change entry_defaults to set defaults on parent if // allow_foreign_new_save_state is true // JT 12/1/97 procedure set checkbox_item had missing ";" in else // JT 10/14/97 Made copy_mask_options more flexible. If mask created in the // Deo, no not alter it. // JT 8/13/97 Altered to support prompt_button_mode logic // JT 07/28/97 Altered entry_display and entry_clear to disable updates // from the focus object (if an xDEO) as well as the current // object. Otherwise get_field_values to DD may return a DEO's // value that has not yet been cleared (e.g., one view with two // DEOs using same field. Focus is in DEO2. When cleared, the // default for DEO1 would incorrectly get the field value from // the second yet to be cleared focus field). // JT 6/24/97 Added auto-label support. Created Auto_Label_State and added // Assign_DD_Label // JT 01/18/97 Fixed entry_display to not set checkbox if the file is not in // the done array. This was causing DD defaults to cleared // JT 12/10/96 Notify_Focus_Change checks to see if it within an error // condition. If it is, it should not update the DD. // JT 09/17/96 Added messages Get_Item_Buffer_Select_State which determines // sel-state based on item's filebuffer and not the dd buffer. // needed by entry_display which must always deal with file buffers// and not dd buffers (because of tables). Modified entry_display. // Fixed bug where entry_display was checking all items and not // just the current row. JT 09/13/96 Change in NoPut logic. If DEO is NoPut the DDO is not notified // of value or item_change changes. It is expected that save will // update DD buffer but finds will update DEO buffer. Also NoPut // key input is not synchronized with other DEOs. Set Value, Set // item_changed_state, Set Select_state, Update_focus_field and // get entry were altered to honor NoPut. New message Item_noPut // is used to check noput deo status // JT 08/12/96 Set_Checkbox_item supports 1 or 3 args (for non DD use) // JT 07/18/96 Added mask support in Copy_Item_Options (IFDEFed to only work // with windows. It calls Copy_Mask_Options // JT 06/27/96 Item_Validate is skipped if item is shadowed // JT 04/26/96 Created Entry_Refresh_State to stop DD update during entry_ // update, entry_display, entry_defaults. This should be // revisited. // JT 04/25/96 File_Field_Value & Item_Field_Value changed to File_Field_ // Current_Value and Item_Field_Current_Value. We // can't use Get/Set_Field_Value because it is a 3.1 command. // JT 04/20/96 Modified so DD deo classes can be used with non-DD data-sets // (Implemented Extended_DSO_State and Extended_DEO_State). This // makes it possible to mix DS and DD views within the same program// without needing to rename _DS classes. Attach_Deo_to_Server // checks data-set type and assigns extended_deo_state as needed. // JT 04/16/96 Moved DF class defintions out to the actual classes (Dfenter. // pkg, etc.) Renamed to DDDEO_MX.PKG // JT 31-03-96 Entry_Defaults only sets the values if the item's file is the // server's main-file. I think this is correct! // JT 31-03-96 Moved Combo Mixin USE into this package at the end. // JT 31-03-96 Server.pkg now calls Define_Deo_Extended_mixin. Server.pkg // has stubbed procedures to handle this when XDEO is not used // JT 28-03-96 Created Set Local_Value which allows one to set a value without // going through the DSO. Changed messages to use this. // JT 28-03-96 Created get_Data_Value which returns value. Can be used for // augmentation (combos). Also, called by xdataset // JT 28-03-96 Created new mixin Extended_DEO_Spin_Mixin (will move it) // JT 28-03-96 Major changes to support validation tables. This provides // support for spinners and combo boxes. // JT 23-03-96 Removed all old dead code. Removed Item_option commands // JT 22-03-96 Created Status_Help to ask the DSO for a help field value // JT 21-03-96 Overhauled the update logic for windows to make sure that // changed values always make it to the field buffer. This is // below. We removed process_accelerator and added the messages // Notify_Focus_Change (augment) and Update_Focus_Field (new) // JT 21-03-96 Created function Extended_DEO_State. DEOs return TRUE all others// return false. This is always checked before DSO sends to DEO // JT 20-03-96 Major changes to support checkboxes in DSO and DEOs. Added an // extended type for checkboxes. Added Select_state logic. // This required the following new or augmented Messages: // Send Entry_Update // Set CheckBox_Item // Set Select_State // Get/Set File_Field_Select_State (new) // : Get/Set Item_Field_Select_State (new) // JT 20-03-96 Modified Set File_field_Value_Changed to accept an additional // parameter indicating if this is a Default change in which case // item_changed_state is set but changed_state is not set. // JT 19-03-96 Created entry_update to not perform entry_update during a save, // the DSO should handle this. A property, allow_save_entry_update // can override this. // JT 19-03-96 Altered ENTRY to send item_field_Value // JT 19-03-96 Altered set Value to not forward if DSO gets message. If DSO // receives message it will indirectly update this value allowing // us to not worry about double updating the item. This allows us // to remove accelerator_object checking (which I did). // JT 19-03-96 Removed entry_display_in_progess and the entry_display // augmentation. Value now checks operation_mode to see if it // should update the value to the data-set. // JT 19-03-96 Added SET Item_Field_Changed_State // JT 19-03-96 Modified Set item_Changed_State to only set the field's // changed-state. Setting the value was doing to much. // JT 17-03-96 Changed Item_xxxxx (validate_msg, exit_msg, entry_msg) to // Field_xxxxx. This is more consistent with the rest of the // data_set interface. // JT 17-03-96 Changed all DD references to DS // JT 17-03-96 Changed File_field_item_Option to File_Field_Option // EK 02-29-96 Added Entry_Display augmentation to set Entry_Display_In_ // Progress. // EK 02-29-96 Changed SET_Value to respect Entry_Display_In_Progress. // EK 02-29-96 Added Entry_Display_In_Progess to stop notifying the server // from a SET_Value while Entry_Display-ing. // EK 02-29-96 Added Entry_Defaults replacement. // EK 02-27-96 Put in compiler directives to exclude the augmentation of // Process_Accelerator when compiling under CM. // EK 02-23-96 Changed Item_Value_Changed to set the Item_Changed_State of the // item to TRUE. Currently this is only done for CM applications. // EK 02-21-96 Changed Item_Entry and Item_Exit. Both missed a ';' after the // test on Object_Item_Entry_Exit. // EK 02-21-96 Changed Ifnot into If Not. // EK 02-21-96 Changed Scan_Servers to send Find_Server_To_Watch when it is // being compiled without the Windows stuff. // EK 02-20-96 Created procedure Item_Value_Changed and modified File_Field_ // Value_Changed to sent this message instead of setting the // value of the item directly. // EK 02-20-96 Changed Copy_Item_Options into Copy_All_Item_Options and // Copy_Item_Option into Copy_Item_Options. // EK 02-20-96 Augment Set Highlight_State to trap a value change of an item // by a user. // EK 02-20-96 Created procedure Define_Extended_DEO_Mixin. // EK 02-20-96 Added __X__ symbols for Item_Field_Changed_State and Item_ // Field_Value for default item numbers. // EK 02-19-96 Changed Item_Validate. It now calls File_Field_Validate_Field // of the server. // EK 02-19-96 Added Item_Field_Property function // EK 02-19-96 Changed Copy_Item_Option to include the file number to let the // server decide to use Foreign_Options or not. // EK 02-16-96 Added Item_Field_Changed_State // EK 02-16-96 Added File_Field_Changed_State // EK 02-16-96 File header created // // ****************************************************************************//

References (9):

ModuleLine
cDbTextEdit.pkg5
Dfcentry.pkg245
Dfenchk.pkg120
Dfenrad.pkg789
Dfentry.pkg128
Dfsellst.pkg366
Dfspnent.pkg24
Dftable.pkg321
Dftxtwin.pkg90

Field References (0):

ModuleContaining SymbolLine