
(*
 Delphi Object and Component Reference
# {bmc bm9.BMP} OnResize example
The following code keeps the right edge on Button1 against the right edge of Form1 when Form1 is resized.
*) 
void __fastcall TForm1::FormResize(TObject *Sender)
{
  Button1->Left = Form1->ClientWidth - Button1->Width;
} 
