Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version

orientation

Arguments: standard-object

Returns the value of the orientation property of the argument. This property applies to trackbar, up-down-control, and split-bar controls that can be placed vertically or horizontally, and to a printer, indicating the orientation of the image on the paper. The possible values for trackbars, up-down-controls, and split-bars are :horizontal and :vertical.

This property is not setfable, excpt for split-bars. For a printer stream, it must be specified as the value of the :orientation initarg to open-stream when creating a printer stream (or by letting the end user specify it on the print job dialog that is invoked by default at that time). For trackbars and up-down-controls, the value must instead be specified with the inspector when designing a control (using a form) or with the :orientation initarg of make-instance. (It can be changed using the inspector when designing a form but not for a running control, either in the IDE or in an application.)

When creating a split-bar programmatically and passing the orientation argument as :vertical, you will probably want to also pass the cursor-name argument as :vertical-splitbar-cursor (or the name of a custom cursor), since it will otherwise default to :horizontal-splitbar-cursor. (This is not an issue when creating a split-bar interactively on a form window.)

The possible values for a printer stream are :portrait and :landscape, where :portrait is taller than it is wide, and :landscape is wider than it is tall.

orientation is a property of the up-down-control, trackbar, split-bar, and printer classes.


Copyright (c) 1998-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.2 page.
Created 2012.5.30.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version