ViewList Event
Fired for each view.
Syntax
type TViewListEvent = procedure ViewList(Sender: TObject; const ViewId: String; const ViewName: String; const ViewType: String; const ViewURL: String; ViewIsDefault: Boolean) of object;property OnViewList: TViewListEvent read FOnViewList write FOnViewList;
Remarks
This event fires once for each view returned by a call to ListViews.
ViewId is the unique identifier of the view.
ViewName is the display name of the view.
ViewType is the type of view. Possible values are:
Calendar | A calendar list view |
Grid | A datasheet list view |
Html | A standard HTML list view |
ViewURL is the relative URL of the view.
ViewIsDefault indicates if the current view is the default view for the List.