Custom Page Events

Custom page events allow you to control property pages you created in the Configurator. If you want to control the behavior of an out-of-the-box system property page, see Property Page Events.

ClosedCustom Page Event Sequence

The events that occur for custom pages are shown in the following list in the sequence that they occur.

  • CustomPages_IsVisible

  • CustomPages_CanEdit

  • CustomPages_CanApply(Context)

ClosedCustomPages_IsVisible Event

Controls whether custom property pages are visible.

Syntax

CustomPages_IsVisible As Boolean

ClosedCustomPages_CanEdit Event

Controls whether the Edit button appears on custom property pages in the Meridian client applications. Set to False to prevent users from editing custom property pages.

This setting does not control out-of-the-box system property pages, such as the Document property page. If you want to disable editing for a system property page, implement the corresponding <PageName>_CanEdit() event.

Syntax

CustomPages_CanEdit As Boolean

ClosedCustomPages_CanApply Event

Controls whether data changes are accepted for editable custom property pages in the Meridian client applications. If the user enters changes but the CustomPages_CanApply event is set to False, Meridian will silently reject submitted changes.

Syntax

CustomPages_CanApply(Context) As Boolean
Parameters
Name Description

Context

A one dimension array that contains the layout name, block name, property name, old value, and new value. Read only.

2023