version 2003
PA_SetAreaFocusable (params; focusable)
| Parameter | Type | Description | |
| params | PA_PluginParameters | Parameters received in PluginMain | |
| focusable | char | 1 = Area is focusable, 0 = Area is not focusable |
Description
The routine PA_SetAreaFocusable lets the plug-in tell 4D if the area is focusable or not.
This routine does nothing and returns (in PA_GetLastError) eER_BadEventCall if it is not called at eAE_IsFocusable event.
params is the PA_PluginParameters the plug-in received in its PluginMain routine.
If focusable is 1, 4D will give the focus to the area when necessary. If it is 0, it will not get the focus.
See Also
Create and use an external area.
Error Handling
Use PA_GetLastError to see if an error occurred (eER_BadEventCall)