RgnMarkingMode example for C++ Builder

void __fastcall TForm1::Test(TObject *Sender)
{
   Lead1->RgnMarkingMode = mmRectangle;
   Lead1->RgnFrameType = ftStatic;
}