version 2003
PA_SetAdvancedPropertiesEditable (params; editable)
Parameter | Type | Description | |
params | PA_PluginParameters | Parameters received in PluginMain | |
editable | char | 1 = Advanced properties are editable |
Description
The routine PA_SetAdvancedPropertiesEditable lets 4th Dimension activate the Edit... button of the Advanced Properties field of an area, in the Properties palette, in the Form Editor.
PA_SetAdvancedPropertiesEditable must be called only when AreaEvent is eAE_ArePropertiesEditable. At any other event, PA_SetAdvancedPropertiesEditable does nothing and PA_GetLastError returns eER_BadEventCall.
Example
See the complete sample in Create and use an external area.
See Also
Create and use an external area, PA_GetAdvancedProperties, PA_GetAdvancedPropertiesToDispose, PA_SetAdvancedProperties.
Error Handling
Use PA_GetLastError to see if an error occurred (eER_BadEventCall).