Hi Tek-Tips People
I hate to raise this issue again, but have read 30+ posts on EditBox and spent afternoon trying... so here it goes.
I have an EditBox, with a scrollbar, on a form and there is more text than can be displayed in the box. It must be possible to amend/insert text anywhere in the box.
The problem occurs when I click somewhere in the top of the text and then scroll[bar] down and click in the next portion of text.
The cursor moves on to a position further up in the text, maybe/not in relation to its original position. I then need to use the keyboard to move to the right place.
(If the first and second selected points are within one screen/display there is no problem.)
SO - I'm looking for a new solution. Can I detect whether the scrollbar was used (VFP6)? -If so, I could keyb some up/dnarrows to physically move the cursor in the text instead of only changing the EditBox display?
OR - has anybody overcome this in some other way?
Sorry if that's a bit longwinded.
I would be grateful of any pointers.
Kaz
I hate to raise this issue again, but have read 30+ posts on EditBox and spent afternoon trying... so here it goes.
I have an EditBox, with a scrollbar, on a form and there is more text than can be displayed in the box. It must be possible to amend/insert text anywhere in the box.
The problem occurs when I click somewhere in the top of the text and then scroll[bar] down and click in the next portion of text.
The cursor moves on to a position further up in the text, maybe/not in relation to its original position. I then need to use the keyboard to move to the right place.
(If the first and second selected points are within one screen/display there is no problem.)
SO - I'm looking for a new solution. Can I detect whether the scrollbar was used (VFP6)? -If so, I could keyb some up/dnarrows to physically move the cursor in the text instead of only changing the EditBox display?
OR - has anybody overcome this in some other way?
Sorry if that's a bit longwinded.
I would be grateful of any pointers.
Kaz