Hi,
i'm using the XLSSpreadSheet component and I want to show a lookup combo box just under left-top corner of particular cell when selected.
How do I get screen coordinates of selected cell like TCustomGrid.CellRect function or MouseToCell procedure ?
Thank you very much!
Massimo
Screen coordinates of selected cell
Re: Screen coordinates of selected cell
Hello
This is fixed in the latest update. Now there is a new property, FXSS.XSSSheet.CursorArea
Use code like:
This is fixed in the latest update. Now there is a new property, FXSS.XSSSheet.CursorArea
Use code like:
Code: Select all
ShowMessage(Format('X: %d Y: %d',[FXSS.XSSSheet.CursorArea.X1,FXSS.XSSSheet.CursorArea.Y1]));
Lars Arvidsson, Axolot Data