Class: DFEntry_Radio_Group_Mixin

Module location: Dfenrad.pkg line 28 (view source)

Class Hierarchy:

cObjectMixinDFEntry_Radio_Group_Mixin

Mixins:

Find_Edit_Mixin, Navigate_Mixin, Nesting_Mixin, Server_Mixin, Verify_Mixin,

Class Definition

Properties

IntegerCode_Display_Mode
StringDefault_Value
when cleared..find it
IntegerEntry_Values
integerNoPut_State
just like items
integerObject_Item_Entry_Exit
if false, entry and exit messages are not used
integerObject_Validation
if false, object validation is skipped
integerPrivate.Data_Field
integerPrivate.Data_File
integerPrivate.item_entry_msg
following 6 messages added to 8.2 to properly support item entry,exit and validate created to support item_entry_msg
integerPrivate.item_exit_msg
created to support item_validate_msg
integerPrivate.item_Validate_msg
created to support item_exit_msg
integerPrivate.Prompt_Object
integerPrivate.Zoom_Object
integerRetain_State
just like items
IntegerValidate_All_Items_State
when true validation is part of validate_items (aka a save)

Functions and Procedures

Activating()
Augment to send Initialize_list (for dynamic lists)
Add_Radio_Item(String Descr_value String Data_Value)
Message to add radio Items to a list. Similar to Add_Item except it handles an optional second and third parameter. If no 2nd param the first is used in its place. If no third param, the record value is not stored. This also keeps track of the readio item's original order in aux_value. If the radio list is then sorted this provides a pointer from the list back to the entry_value array (which is not sorted). Send Add_Radio_Item Item_Value {Data_Value} {Rec_Value} Integer iRec
Bind_Data(integer File# Integer Field#)
Bottom_of_Panel()
created for Navigation support
Clear_Radio(String Dflt Integer RetainIt)
Clear radio object. All items select state to false and set current item to default. Pass: Dflt - value to set RetainIt - if TRUE retain the current value
stringCode_Description_Value(String DescVal String DataVal)
Augment to support various description/data Display formats.
StringCurrent_Item_Data_Value()
Find the data value of the current selected radio item
IntegerData_Field(Integer Itm#)
IntegerData_File(Integer Itm#)
integerData_to_Description_item(String sValue)
Pass data value and return the position in the radio. -1 if not found If list is sorted, the entry_value items and the list items will not be in the same order. Each radio item's aux_value contains the position in entry_value list (the ev list does not change).
Define_DFEntry_Radio_Group_Mixin()
Delete_Data()
Augment to delete the entry_value data as well.
Display_Description(String DataVal)
Set the radio item to the value passed. If not found, leave item where it is with nothing selected.
End_Construct_Object()
Fill_List at end of construct object
Entry_Clear(integer file#)
created for EntItem simulation: file# <> 0 means use Cleared-array
Entry_Clear_All(integer file#)
created for EntItem simulation:
Entry_Defaults()
Entry_Display(integer file# integer flag)
This has never been used internally and it is private. It should be safe to remove it. Procedure SET Record_Value Integer Itm Integer iRec If Itm eq CURRENT Get Current_Item to Itm Set Value of (Entry_Values(self)) Item (Itm*2+1) to iRec End_Procedure Function Record_Value Integer Itm Returns Integer If Itm eq CURRENT Get Current_Item to Itm Function_Return (Value(Entry_Values(self),Itm*2+1)) End_Function created for EntItem simulation and Server support: if file# = 0, display only if Target_File is in Done-array else display only if file# = Target_File
Entry_Update(integer file# integer flag)
created for EntItem simulation and Server support Normally entry_update gets called during saves and finds. When Save: file# = 0 flag = 3 Find: file# <> 0 flag = 1 Allow Update Rules: if Save update (file#=0, flag=3) Allow Update if not noput and Target_File is in Done-array and (new record or changed_state). else if Find_Update (file#=Target_File, Flag=1) or misc (file#=0) Allow Update Modified so that an unchanged item is moved to the field if the main file is a new record.
StringEntry_Value(Integer Itm)
IntegerExec_Entry()
IntegerExec_Exit()
integerExec_Validate()
Fill_List()
integerFilled_Count()
Initialize_List()
If there are no items send fill_list. Also check to see of a scroll bar is needed. Display scroll bar if it is. Note If you want to rebuild an item list you should: Send Delete_Data Send Initialize_List Do not Send Fill_List directly (it won't handle scroll bar right)
IntegerItem_Changed_State(Integer iItem)
integerItem_Count()
when the DEO attaches to the server it expects item_count to exist. Return 1, Radios always map to a single data field
StringItem_Data_Value(integer iItem)
Find the data value of the passed list item
integerItem_Entry(integer msg# integer item#)
Item_entry/exit/validate are the non DD versions and are probably never called. Lifted from entitem.pkg Normally, the dd versions of these will get called
IntegerItem_Entry_msg(Integer iItem)
integerItem_Exit(integer msg# integer item#)
IntegerItem_Exit_msg(Integer iItem)
IntegerItem_Limit()
added for DEO support. It is always 0
integerItem_Validate(integer msg# integer item#)
IntegerItem_Validate_msg(Integer iItem)
integerOnRadioGroupEntering()
these two functions are called by radio objects when an entering or exting event for the entire radio group. These trigger exiting and entering messages
integerOnRadioGroupExiting()
Prompt()
IntegerPrompt_Object(Integer Item#)
IntegerProtoType_Object()
added for DEO / prototype object support. It is always self
Refresh(integer notifyMode)
Request_Find(integer mode integer entUpdtFlag)
FindEdit support behavior
Request_Superfind(integer mode)
FindEdit support behavior
integerSelect_State(integer iItem)
Set(Integer item# Integer Obj#)
Inherited from verify_mixin
Set(Integer iItem Handle hoPrompt)
Inherited from verify_mixin
Set(integer item# integer File#)
Inherited from verify_mixin
Set(integer item# integer Field#)
Inherited from verify_mixin
SET(Integer Itm String Val)
Inherited from verify_mixin
Set(Integer iItem Integer iState)
Inherited from verify_mixin
Get/Set item_chagned_state. These messages should not affect our radio list. They should redirect to changed_state
Set(integer iItem integer iState)
Inherited from verify_mixin
Set(Integer iItem Integer hMsg)
Inherited from verify_mixin
added for 8.2 support. This now allows DD and non DD based radio objects to support validation, entry and exit messages. This allows support of: get/set item_entry_msg get/set item_exit_msg get/set item_validate_msg with DDs these are rarely used.
Set(Integer iItem Integer hMsg)
Inherited from verify_mixin
Set(Integer iItem Integer hMsg)
Inherited from verify_mixin
Top_of_Panel()
created for Navigation support NoDoc=True
integerValidate_Items(integer fg)
this is mostly lifted from val_mx.pkg. It's simpler because there is only one item to validate.
Zoom()
HandleZoom_object(Integer iItem)