cControl_WebButton.Initialize Method


Initializes a cControl_WebButton object.

Syntax

object.Initialize(cmd)

object A variable that represents a cControl_WebButton object.

Parameters

Name Required / Optional Data Type Description
cmd Required Access.CommandButton Required reference to an existing command button.

Remarks

ControlType, Name, SelectButton, HighlightButton, and Deselector properties are initialized here.

Example

This example initializes a cControl_WebButton object with a CommandButton control, Command0.

Dim WebButton as cControl_WebButton

Set WebButton = New cControl_WebButton

WebButton.Initialize ([Form1].Command0)

Last edited Dec 23, 2010 at 6:30 PM by vba_junkie, version 1

Comments

No comments yet.