Eike Rathke wrote: > In a spreadsheet, all operations apply to the current cell if no cell is > selected, the selection returned in this case is the current cell, even > if it isn't visibly marked. The difference is only in rendering or for > user interaction such as starting drag&drop vs. extending the selection > upon mouse point-and-drag. Is a differentiation needed elsewhere? > > Eike >
Some of the commands below menu "Data" use the current region around the active cell if there is nothing selected. If there is a single highlighted cell, the application tries to operate on the single cell. Same with printed range selections. Highlight a blank cell Ctrl+P [X]Selected cells Error message: "Nothing to print" Activate the same cell without highlighting Ctrl+P [X]Selected cells Used range gets printed or print ranges respectively. Sometimes it would be nice to restore a previous selection exactly. We can not tell if a single cell was highlighted or not. We can tell which cell was the active cell within a previous selection (reading the ViewData) but there is no way to set the active cell within a range(s) selection. Inconsistant behaviour: oView.select(oCell) activates and highlights the cell. oView.select(oEmptyRangesCollection) un-selects everything, leaving the white active cell. BUT: oView.getSelection() gets the active cell instead of empty ranges collection without any clue if it is highlichted or not. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
