38 Form design: MemoFields and Text objectsVERSIONS: Paradox 9 and later
SUBJECT: Scrollbars on Memo fields and text objects
BY: BERTIL ISBERG
Date: 15 September 2003
When a memo field is activated, the scrollbar thumb is not initialized correctly. Dragging the thumb to the bottom of the scrollbar, it is still possible to page down. After a while the thumb is resized to reflect the full scrollable size.
On a form, I have a text object. There is more text than will fit on screen, so I want to place a scrollbar. However, when the form opens the scroll bar does not appear to 'initialize'. It only has a small amount of scroll space. Clicking the down arrow to scroll down, and only a small amount of text will scroll. If I click in the scroll space (amount of space the scroll bar shows can be scrolled), then the entire scroll area becomes obvious. Also, if I wait for long enough the scroll bar adjusts to show the full amount scrollable.
Problem seems to show up when memo field contains more than a specifc size of data. 4202 characters does not trigger the effect, but 4216 does.
Setting property Complete Display=TRUE seems to fix the problem for the memo field after a minor delay. It looks like the problem is caused by Paradox not retrieving all data for the memo field unless required to do so.
The solution for the text object seems to be to set MarkerPos property to a high value in design mode.