Products Downloads


French version


 

The Split Bar object is used to divide (split) all of part of the window into several sub-parts.

It is comprised of one or more divisions, themselves comprised of two views separated by an horizontal or vertical bar. The views can be resized by dragging the bar with the mouse.

Within a given division, view number 1 is the view located on the left or at the top; view number 2 is the view to the right or below.

During layout design, the Split Bar object contains no views when first placed in the window. Divisions can then be created, either via the object's context-sensitive menu, or from its properties window.

 

Note: During layout design, the coordinates of a control placed in a split bar are relative to the window. On the other hand, on execution, the coordinates of a control that can be manipulated by its X axis and Y Axis are relative to the view in which it is located.

 

You can define the adjustment of graphical controls located on either side of a moving bar.

For this purpose, there are four properties common to all graphical objects:

 

  • ACTION_MOVE_LEFT_SIDE

  • ACTION_MOVE_RIGHT_SIDE

  • ACTION_MOVE_TOP_SIDE

  • ACTION_MOVE_BOTTOM_SIDE

 

A control can either move (in this case, the control moves relative to the window, but not to the bar), resize, or remain anchored, i.e. it does not move relative to the window.

By default, the graphical controls in a view located on the left at the top (relative to the bar) remain anchored. Controls in a view located on the right or at the bottom move.

 

Note: The above properties only apply if the object is placed in the view of a Split bar object.

 

The properties ID_HORIZONTAL_ADJUSTMENT and ID_VERTICAL_ADJUSTEMENT do not apply to objects placed in a Split bar object view.

 

This object is not supported by the Java generator or the Mobile generator.

 

Click below for further information about:

 

↑ Top of page