# DIF_CENTERGROUP

Sequentially declared elements with the DIF_CENTERGROUP flag and with the same vertical position will be centered in the dialog. Horizontal coordinates of those elements (X1 and X2) are ignored.

### Controls

The DIF_CENTERGROUP flag is applicable to the following dialog items:

Control | Description
--- | ---
DI_BUTTON | Push button.
DI_CHECKBOX | Check box.
DI_RADIOBUTTON | Radio button.
DI_TEXT | Text string .
DI_VTEXT | Vertical text string.

### Remarks

1. It is convenient for centering a group of buttons.
2. FAR itself handles group centering upon dialog resize.

See also: