This documentation is archived and is not being maintained.

Form.AfterRender Event (Access)

Occurs after the object represented by the chartObject argument has been rendered.

expression .AfterRender(drawObject, chartObject)

expression A variable that represents a Form object.

Parameters

Name

Required/Optional

Data Type

Description

drawObject

Required

Object

A ChChartDraw object. Use the methods and properties of this object to draw objects on the chart.

chartObject

Required

Object

The object that has just been rendered. Use the TypeName function to determine what type of object has just been rendered.

Return Value

nothing

The following example demonstrates the syntax for a subroutine that traps the AfterRender event.

Private Sub Form_AfterRender( _ 
 ByVal drawObject As Object, ByVal chartObject As Object) 
 MsgBox TypeName(chartObject) & " has been rendered." 
End Sub
Show: