Generic FunctionPackage: cgToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version

edge-position

Arguments: grid-section-any

Returns the position of grid-section within a grid-widget or the position of a grid-subsection within its parent grid-section. The value is a non-negative integer indicating a distance in pixels.

For a grid-row-section, the distance is from the top of the grid interior to the top edge of the grid-row-section. For a grid-column-section, the distance is from the left of the grid interior to the left edge of the grid-column-section.

For a grid-row, the distance is from the top of the set of rows in the grid-row-section of the row to the top edge of the row. For a grid-column, the distance is from the left edge of the set of columns in the grid-column-section of the column to the left edge of the column. Note that this value is not affected by the scrolling of the grid-section, since the value is relative to the scrolling contents of the section rather than to their position in the widget window.

Compatibility note: Through version 6.0, the value returned for a grid-row or grid-column was equal to the value described here added to the edge-position of the parent grid-section. This was not an intuitive value, and so the function has been changed to match the current documentation.


Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

ToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 10.1
Unrevised from 10.0 to 10.1.
10.0 version