[Overview][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'StdCtrls' (#lcl)

TCustomComboBox.RealSetText

Adjusts ItemIndex according to the new edit box content.

Declaration

Source position: stdctrls.pp line 349

protected procedure TCustomComboBox.RealSetText(

  const AValue: TCaption

); override;

Arguments

AValue

  

The new content of the edit box.

Description

If the text AValue occurs in the list of strings, then sets the Itemindex, otherwise does the default action which is to store text as a string rather than performing read-write to a PChar buffer

See also

TControl.RealSetText

  

Sets the Caption property.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.