DR EVENT FILTER

4D - Documentation   Français   English   German   4D Draw 2004, Command Theme List   4D Draw 2004, Command Alphabetical List   Back   Previous   Next

version 6.0


DR EVENT FILTER (area; mask)

ParameterTypeDescription
areaLongint4D Draw area
maskLongintEvents to process

Description

The command DR EVENT FILTER specifies which events cause the object method of area or the event method to be executed. By default, an object method attached to a 4D Draw area is executed when the user selects an object outside of the area. DR EVENT FILTER lets you specify other events that execute the object method. Also, a method installed with the DR ON EVENT command will also execute.

mask is the events to use, expressed as the sum of event codes. See Appendix C, Event Codes, for a complete list of event codes.

If you specify -1 for area, the event filter becomes the default filter for all newly created 4D Draw areas on forms and in external windows. This lets you trap for areas created from the Plug-Ins menu of the User environment. It also allows for consistent event handling in all areas.

See Also

DR LAST CLICK, DR Last event, DR ON EVENT.


4D - Documentation   Français   English   German   4D Draw 2004, Command Theme List   4D Draw 2004, Command Alphabetical List   Back   Previous   Next