Vcl.Forms.TForm.Previous

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Previous;

C++

void __fastcall Previous();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TForm

Description

Activates the previous MDI child form in the form sequence.

Use Previous to change the active child form of an MDI parent. For example, if you have three child forms within a parent form and Form4 is the active form, the Previous method makes Form3 the active form. Calling Previous again makes Form2 active. The next time your application calls Previous, the sequence starts over again and Form4 becomes the active form once again.

The Previous method applies only to forms that are MDI parent forms (have a FormStyle property value of fsMDIForm).

See Also