General Component
Fnd_Gen_ComponentCheck
Fnd_Gen_ComponentCheck (calling component; required component)
Parameters
| Parameter | Type | Description |
|---|---|---|
| calling component | Text | Internal name of the calling component |
| required component | Text | Internal name of the required component |
Description
The Fnd_Gen_ComponentCheck routine displays an alert if the specified component is not available. It then ends execution by calling 4D’s ABORT command. Use this command in the initialization of a component that requires another Foundation component.
Fnd_Gen_ComponentCheck("My Cool Component";"Fnd_Dlg")
Fnd_Gen_ComponentCheck("My Cool Component";"Fnd_Wnd")
Extracted source text
Fnd_Gen_ComponentCheck (calling component; required component)
Parameter Type Description
calling component Text Internal name of the calling component
required component Text Internal name of the required component
The Fnd_Gen_ComponentCheck routine displays an alert if the specified component is not available.
It then ends execution by calling 4D’s ABORT command. Use this command in the initialization of a
component that requires another Foundation component.
Fnd_Gen_ComponentCheck("My Cool Component";"Fnd_Dlg")
Fnd_Gen_ComponentCheck("My Cool Component";"Fnd_Wnd")