RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TForm.Previous Method

Activates the previous MDI child form in the form sequence.

Pascal
procedure Previous;
C++
__fastcall Previous();

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).  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!