lazarus-ccr/components/fpspreadsheet/examples/visual/zoom
2016-09-28 16:35:39 +00:00
..
readme.txt fpspreadsheet: Add example for zooming. 2016-09-28 09:08:15 +00:00
zdmain.lfm fpspreadsheet: Add workbook option boWriteZoomFactor and update xls, xlsx and ods writers. Extend zoom demo by saving command. Add define CALC_ALL_ROWHEIGHTS to fpspreadsheetgrid. 2016-09-28 16:35:39 +00:00
zdmain.pas fpspreadsheet: Add workbook option boWriteZoomFactor and update xls, xlsx and ods writers. Extend zoom demo by saving command. Add define CALC_ALL_ROWHEIGHTS to fpspreadsheetgrid. 2016-09-28 16:35:39 +00:00
zoomdemo.lpi fpspreadsheet: Add example for zooming. 2016-09-28 09:08:15 +00:00
zoomdemo.lpr fpspreadsheet: Add example for zooming. 2016-09-28 09:08:15 +00:00

This example demonstrates two ways of zooming in the WorksheetGrid.

In the first one (checkbox "Override file zoom factor" off), the zoom factor
read from the spreadsheet file is used for displaying the worksheet in the
grid.

In the second one (checkbox on), the file zoom factor is ignored.

The zoom factor can be changed by entering a zoom percentage in the edit box,
or by using the mouse wheel with CTRL and SHIFT keys pressed.