IHTMLInputTextElement::get_maxLengthIHTMLInputTextElement::get_maxLength*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLInputTextElement::put_maxLength
*Next Topic: IHTMLInputTextElement::select

IHTMLInputTextElement::get_maxLength


HRESULT get_maxLength( 
    long *p 
);

Retrieves the maximum number of characters that can be entered into a text control.

p
Address of a variable that receives the maximum number of characters.

This can be larger than the size of the text box. When this occurs, the text box should scroll accordingly as the user types. The default is there is no limit.

See also put_maxLength

Up Top of Page


IHTMLInputTextElement::put_maxLength


HRESULT put_maxLength(
    long v 
);

Sets the maximum number of characters that can be entered into a text control.

v
Value specifying the maximum number of characters.

This can be larger than the size of the text box. When this occurs, the text box should scroll accordingly as the user types. The default is there is no limit.

See also get_maxLength


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.