/*
SetSelTextBuf example
This example inserts the contents of temp_string at the current location of the cursor.
*/ 
void __fastcall TForm1::Button4Click(TObject *Sender)
{
  char * temp_string = "I am now here";
  Memo1->SetSelTextBuf(temp_string);
} 
