LowerCase (C++)

From RAD Studio Code Examples
Jump to: navigation, search

Description

This example uses an edit control, a label, and a button on a form. When you click the button, the label shows the text of the edit control in lowercase.

Code

void __fastcall TForm1::Button1Click(TObject *Sender)
{
  Label1->Caption = LowerCase(Edit1->Text);
}

Uses