I use a memo field to log messages. Would like the order form old to new (at the bottom). When I refresh the memo with the latest log message, the scroll bars seem to stay at the top.
Is there any setting to make is auto scrolling when adding a new entry?
Using win XP - MacroSched v12
Can a memo field auto scroll to the bottom?
Moderators: JRL, Dorian (MJT support)
I was looking at this same issue last week. I opted to display the last line of my log file at the top of the memo field creating a reverse list.
Though I did not spend a great deal of time on it, the only method I found that kept the memo field scrolled to the bottom was to paste each line to the field rather than update the memo object's "text" property. Since you are using MS version 12 you could also toggle the memo objects "ReadOnly" property from True to False to True while you let the script paste each line of data. This would prevent users from altering the data between pastes.
There might be a better way.
Hope this makes sense.
Though I did not spend a great deal of time on it, the only method I found that kept the memo field scrolled to the bottom was to paste each line to the field rather than update the memo object's "text" property. Since you are using MS version 12 you could also toggle the memo objects "ReadOnly" property from True to False to True while you let the script paste each line of data. This would prevent users from altering the data between pastes.
Code: Select all
PutClipBoard>data
SetDialogObjectFocus>Dialog1,MSMemo1
SetDialogProperty>Dialog1,MSMemo1,ReadOnly,False
Press Ctrl
Send>v
Release CTRL
SetDialogProperty>Dialog1,MSMemo1,ReadOnly,True
Hope this makes sense.