WriteMethod Method

JavaScript Editor js editor     Web development 



Main Page

Writes the specified text to the specified method. Available at design time only.

Control.WriteMethod(cMethodName, cMethodText [,lCreateMethod [, nVisibility [, cDescription]]])

Parameters

cMethodName


Specifies the name of the method to write the specified text to.
cMethodText


Specifies the text to write to the specified methods.
lCreateMethod


Specifies whether the method is created when it doesn't already exist. Because this method is useful only at design time, you must save the form or class before changes can be effective.
nVisibility


Specifies the visibility of the new method.

nVisibility Visibility

1

Public

2

Protected

3

Hidden

cDescription


Specifies a description for the new method. The method description is limited to 255 characters.

Remarks

See Also



JavaScript Editor js editor     Web development