Class: Single_Item_Navigate_Mixin
Class Hierarchy:
cObjectMixinSingle_Item_Navigate_MixinClass Definition
Functions and Procedures
Define_Single_Item_Navigate_Mixin()
Mixin-Class: Single_item_Navigate_Mixin
This used by form and entry classes to handle the differences that
occur because DF thinks as a multi-item object and these are single item
1. define alternate switch behavior for single items form and entry
Class Hierarchy:
cObjectMixinSingle_Item_Navigate_MixinMixins:
Shadow_Mixin,
Class Definition
Functions and Procedures
Define_Single_Item_Navigate_Mixin()
IntegerEntering()
Navigational work-around. In single item objects previous does not
work when the previous item is displayonly (any shadow-state condition).
The previous key remains where it is. While next works, it does not
work well in that the NEXT is sent recursively - place enough display
only object together and the stack would overflow. Switch/Switch_back
will continue searching if the object's activation fails (activate,
entering or exiting). We will trigger entering to return a non-zero
value if 1) it was already going to do that, or 2) we've got a single
item object and that single item's shadow-state is set. This seems to
address all possibilities.
Switch_Next_Area()
The switch_next_area and switch_Prior_area messages are sent by the
F6/Shift+F6 keys. Changes are made here to make a switch do something
useful in entry_forms. The current goal is to make it act like the
character mode product. We do this by making the switch skip all
dfentry_forms until it hits a DEO that is not an entry-form. This
changed behavior only occurs when switching FROM a dfentry_form
TO another dfentry_form.
Switch_Prior_Area()
See Comments In Switch_Next_Area