IXlsFormEditBox
COM interface ( getting help with interfaces )

 

interface IXlsFormEditBox : IDispatch
{
  [id(1),propput]  HRESULT Label([in]BSTR label);
  [id(1),propget]  HRESULT Label([out, retval]BSTR* label);
  [id(2),propput]  HRESULT RichLabel([in]IXlsRichLabel* rl);
  [id(3),propput]  HRESULT Formula([in]BSTR formula);
  [id(3),propget]  HRESULT Formula([out, retval]BSTR* formula);
  [id(4),propget]  HRESULT AlternativeText([out, retval]BSTR* text);
  [id(4),propput]  HRESULT AlternativeText([in]BSTR text);
  [id(5),propput]  HRESULT VBAMacro([in]BSTR macro);
  [id(5),propget]  HRESULT VBAMacro([out, retval]BSTR* macro);
  [id(6),propput]  HRESULT ValidationType([in]enumValidationTypeEditBox validationType);
  [id(6),propget]  HRESULT ValidationType([out, retval]enumValidationTypeEditBox* validationType);
  [id(7),propput]  HRESULT Multiline([in]BOOL b);
  [id(7),propget]  HRESULT Multiline([out, retval]BOOL* b);
  [id(8),propput]  HRESULT ShowScrollbar([in]BOOL b);
  [id(8),propget]  HRESULT ShowScrollbar([out, retval]BOOL* b);
  [id(9),propput]  HRESULT PasswordMode([in]BOOL b);
  [id(9),propget]  HRESULT PasswordMode([out, retval]BOOL* b);
  [id(10),propget] HRESULT Name([out, retval]BSTR* name);
}

 

HRESULT Label([in]BSTR label);
sets the content of the form edit control.

HRESULT Label([out, retval]BSTR* label);
returns the content of the form edit control.

HRESULT RichLabel([in]IXlsRichLabel* rl);
sets the content of the form edit control using richly formatting labels.

HRESULT Formula([in]BSTR formula);
sets the formula for the form edit control.

HRESULT Formula([out, retval]BSTR* formula);
returns the formula for the form edit control.

HRESULT AlternativeText([out, retval]BSTR* text);
returns the alternative text. Optional.

HRESULT AlternativeText([in]BSTR text);
sets the alternative text. Optional.

HRESULT VBAMacro([in]BSTR macro);
sets the vba macro name for the form edit control.

HRESULT VBAMacro([out, retval]BSTR* macro);
returns the vba macro name for the form edit control.

HRESULT ValidationType([in]enumValidationTypeEditBox validationType);
sets the validation type for the form edit control.

HRESULT ValidationType([out, retval]enumValidationTypeEditBox* validationType);
returns the validation type for the form edit control.

HRESULT Multiline([in]BOOL b);
sets whether the edit control allows multiple line edits. Default value is : false.

HRESULT Multiline([out, retval]BOOL* b);
returns whether the edit control allows multiple line editsd. Default value is : false.

HRESULT ShowScrollbar([in]BOOL b);
sets whether the edit control shows a vertical scrollbar. Default value is : false.

HRESULT ShowScrollbar([out, retval]BOOL* b);
returns whether the edit control shows a vertical scrollbar. Default value is : false.

HRESULT PasswordMode([in]BOOL b);
sets whether the edit control is in password edit mode where letters are replaced by stars. Default value is : false.

HRESULT PasswordMode([out, retval]BOOL* b);
returns whether the edit control is in password edit mode where letters are replaced by stars. Default value is : false.

HRESULT Name([out, retval]BSTR* name);
returns the name of the form edit control.