Map graph: Object group
The properties in this group specify the layout in the map object. This group contains the following properties:
anchor
Specify where to anchor an object in the display.
Note: | If an object has the dock property set, the anchor property will be ignored. |
The anchor property is applied only when the dimensions of the display are modified, either by editing Background Properties or resizing the window in Layout mode. Select None, or one or more following options:
None | Object not anchored. This is the default. |
Top | Anchor top of object at top of display. |
Left | Anchor left side of object at left of display. |
Bottom | Anchor bottom of object at bottom of display. |
Right | Anchor right side of object at right of display. |
When a display is resized, the number of pixels between an anchored object and the specified location remain constant. If an object is anchored on opposite sides (that is Top and Bottom or Left and Right), the object will be stretched to fill the available space.
dock
Specify the docking location of an object in the display. Select from the following options:
None | Object is not docked. This is the default. |
Top | Dock object at top of display. |
Left | Dock object at left of display. |
Bottom | Dock object at bottom of display. |
Right | Dock object at right of display. |
Fill | Dock object in available space remaining in the display after all docked objects are positioned. |
If the dimensions of the display are modified, either by editing Background Properties or resizing the window in Layout mode, the properties (objX, objY, objWidth and objHeight) of docked objects will automatically adapt to match the new size of the display.
When multiple objects are docked to the same side of the display, the first object is docked against the side of the display, the next object is docked against the edge of the first object, and so on.
When objects are docked to multiple sides of the display, the order in which objects were added to the display controls docking position. For example, the first object added to the display is docked at the Top and the second object is docked at the Left. Consequently, the first object will fill the entire width of the display and the second object will fill the left side of the display from the bottom of the first object to the bottom of the display.
Objects in a display have the dock property set to Fill, are laid out across a grid in the available space remaining after all docked objects are positioned. By default, the grid has one row and as many columns as there are objects in the display. You can modify the grid in the Background Properties dialog. Once an object is docked, there are some limitations on how that object can be modified.
Docked objects cannot be dragged or repositioned using
objX and
objY properties.
Docked objects cannot be resized using the
objWidth or
objHeight properties. To resize you must drag on the resize handle.
Docked objects can only be resized toward the center of the display (for example, if an object is docked at the
Top, only its height can be increased by dragging down towards the center of the display).
Docked objects set to
Fill cannot be resized at all.
Docked objects cannot be moved using
Align. Non-docked objects can be aligned against a docked object, but a docked object will not move to align against another object.
Docked objects are ignored by
Distribute.
objHeight
Set height of the object in pixels.
objName
Name given to facilitate object management through the Object List dialog. Select Tools > Object List
objWidth
Set width of the object in pixels.
objX
Set the x-axis position of object.
objY
Set the y-axis position of object.
visFlag
Controls visibility of the object.