PA_SetAreaFocusable

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

version 2003


PA_SetAreaFocusable (params; focusable)

ParameterTypeDescription
paramsPA_PluginParametersParameters received in PluginMain
focusablechar1 = 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)


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