home *** CD-ROM | disk | FTP | other *** search
- // WIND_PD.INC
- // November 30, 1990
- // LS
- //
- // package for creating generic window_pull_down object for edit object actions
-
- #IFDEF WINDOW_PULL_DOWN.N
- #ELSE
- /Window_Pull_Down
- ┌─────────────────────────────┐
- │ ___________________________ │
- │ ___________________________ │
- │ ___________________________ │
- │ ___________________________ │
- │ ___________________________ │
- │ ___________________________ │
- │ ___________________________ │
- │ ___________________________ │
- └─────────────────────────────┘
- /*
- #ENDIF
-
- #CHKSUB 1 1 // Verify the UI subsystem.
-
- register_object Window_Pull_Down
- on_item "Window" send Activate_Pull_Down to (Window_Pull_Down( Current_Object ))
-
- object Window_Pull_Down is a Pull_Down_Menu
- multi$ register_procedure Change_Margin Status_Line_Off Status_Line_On
- register_procedure Resize
-
- item_list
- on_item "Change margin..." send Change_Margin
- on_item "Status line off" send Status_Line_Off
- on_item "Status line on" send Status_Line_On
- on_item "Next page PgDn" send Page_Down
- on_item "Previous page PgUp" send Page_Up
- on_item "Resize..." send ReSize
- on_item "End of window Ctrl+Dn" send End_Of_Panel
- on_item "Top of window Ctrl+Up" send Beginning_Of_Panel
- end_item_list
- end_object
-