* Enhanced: The GRID control supports the optional AUTOSIZEHEIGHT <nRow> and
AUTOSIZEWIDTH <.T.|.F.> clauses at his definition.
It based upon a new function ListView_CalculateSize() which
calculates the width and height required to display a given number
of rows of a ListView control.
Parameters:
nNumberOfRows - The number of rows to be displayed in the control.
Set to -1 (the default) to use the current number of rows in the
ListView control.
nWidth, nHeight - [Output, Optional] The calculated width and height
of ListView control.
Returns: An integer that holds the calculated height needed
to display the rows, in pixels.
If the output variables are defined (nWidth and nHeight), the
calculated values are also returned in these variables.
The final result (in most cases) is a ListView control that is the
exact size needed to show all of the specified rows and columns
without showing the horizontal or vertical scroll bars.
Remark: If the requested number of rows is less than the actual
number of rows, the horizontal and/or vertical scroll bars may show
as a result.
Requested by Jimmy on the official HMG forum.
Contributed by Grigory Filatov <
gfilatov@inbox.ru>
(see demo4.prg in folder \samples\Basic\Grid_Test)
* Updated: Harbour Compiler 3.2.0dev (SVN 2020-02-10 15:34).
Contributed by Grigory Filatov <
gfilatov@inbox.ru>
(look at ReadMe.txt in folder \harbour)
* Updated: 'How to set/get a number of visible rows in a Grid control' sample.
Contributed by Grigory Filatov <
gfilatov@inbox.ru>
(see demo4.prg in folder \samples\Basic\Grid_Test)
* Updated: 'ListView with Extended styles' sample: the minor fixes.
Contributed by Grigory Filatov <
gfilatov@inbox.ru>
(see in folder \samples\Advanced\ListViewEx)
* Updated: 'Process Information' sample is based on the ProcInfo library:
- using of the new function ListView_CalculateSize() from the Minigui
core instead of a local implementation.
Contributed by Grigory Filatov <
gfilatov@inbox.ru>
(see in folder \samples\Advanced\ProcInfo)
* Updated: 'Low Level DBU' utility:
- using of the AUTOSIZEHEIGHT and AUTOSIZEWIDTH clauses in the GRIDs.
Contributed by Grigory Filatov <
gfilatov@inbox.ru>
(see in folder \Utils\LL_DBU)