[futurebasic] edit field help

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : April 1998 : Group Archive : Group : All Groups

From: Larry00007 <Larry00007@...>
Date: Thu, 23 Apr 1998 02:07:33 EDT
I don't understand what I'm doing wrong. I have an edit field with a grouped
scroll bar created in PG. If the field is not scrolled back to the top, and I
use TESETTEXT to change the text in the field, the area in the window above
the edit field sometimes gets erased, even if I offset the view and
destination rectangles of the edit record way off the window before changing
the text. Even if I scroll the text back before changing it, as below. Does
anybody know why that would happen and what I should do about it? Thanks.

CALL OFFSETRECT(#([teh&] + _teViewRect),5000,5000)
CALL OFFSETRECT(#([teh&] + _teDestRect),5000,5000)
CALL TEPINSCROLL(0,5000,teh&)
CALL SETCTLVALUE(BUTTON&(_scrlBar9WClass1),0)
CALL TESETTEXT (knotP&,knotLen&,teh&)
'window area is now erased???!!!

Larry T