TileMode (C++)
Description
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 you choose the TileForms command, the child forms tile vertically within the MDI frame form.
Code
void __fastcall TForm1::TileFormsClick(TObject *Sender)
{
TileMode = tbVertical;
Tile();
}
Uses
- Vcl.Forms.TCustomForm.TileMode ( fr | de | ja )
- Vcl.Forms.TForm.Tile ( fr | de | ja )
- Vcl.Forms.TCustomForm.FormStyle ( fr | de | ja )