//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "TileMode.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
	: TForm(Owner)
{
}
//---------------------------------------------------------------------------
// BeginExample: TileMode
// Property: Forms.TCustomForm.TileMode
// Property: Forms.TForm.Tile
// Property: Forms.TCustomForm.FormStyle

// BeginCode
/*
This example uses three forms. The first form has its
FormStyle property set to MDIForm. The other two have their
FormStyle properties set to MDIChild and their Visible
properties set to true. Add a main menu component and name
one of the menu items TileForms. This is code for the
TileFormsClick handler.  When the user chooses the TileForms
command, the child forms tile vertically within the MDI frame
form.
*/
void __fastcall TForm1::TileFormsClick(TObject *Sender)
{
  TileMode = tbVertical;
  Tile();
}
// EndCode
// EndExample: TileMode
//---------------------------------------------------------------------------
