On 05/30/10 10:54, rashi dhing wrote:
Whenever a range is referenced, there is this anchor handle that allows one
to grow or resize the selected range.
Now the anchor only appears whenever the focus is in the inputline. I am
trying to find the function that is responsible
for the anchor to appear. I came across the  *
ScGridWindow::CreateAnchorHandle* function but don't think it is
really useful. Can you let me know which is the relevant function ?

Do you mean the rectangle at the lower right corner of a reference range? That is part of the range highlighting when you start editing an existing formula, not when you input a new reference. It doesn't matter if the focus is in the input line or the cell area. It's drawn in ScOutputData::DrawRefMark if bHandle is set (called from ScGridWindow::Draw).

ScGridWindow::CreateAnchorHandle is for the anchors of drawing objects.

Niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to