Changing the Order of Controls

How to:

If two controls occupy the same space on your form, by default, the control that was created most recently appears on top. If you want to change the order of controls on your form, use the Bring to Front or Send to Back commands.

The order of controls in the form may affect the tab order.

Note: WebFOCUS Maintain will not move a button, an edit box, or a multi-edit box behind a group box, static text, line, Java applet, HTML Object, or HTML Table, since doing so would make it inaccessible to end users. This is only applicable to Bring to Front and Send to Back commands. It does not apply to controls being manipulated by the ZIndex property.


Top of page

x
Procedure: How to Send a Control to the Front
  1. Select the control.
  2. In the Layout menu, click Bring to front.

    or

    Click the To Front or Back button To Front or Back button in the Layout toolbar. Then click the To front button To front button in the pop-up toolbar.


Top of page

x
Procedure: How to Send a Control to the Back
  1. Select the control.
  2. In the Layout menu, click Send to back.

    or

    Click the To Front or Back button To Front or Back button in the Layout toolbar. Then click the To back button To back button in the pop-up toolbar.

Note: Another option is the ZIndex property, which can be used to assign display order for two or more controls on a form, either during development or dynamically at run time (for all controls except Grid and ActiveX). For more information on this property, see ZIndex Property.


WebFOCUS